while handling IRP_MJ_CREATE I'm seeing that many files are being opened for
write access when in fact there is really no reason for write access. For
instance when looking at properties from the Windows Shell

irpSp->Parameters.Create.SecurityContext->DesiredAccess has a value of

0012019f

Is this lazy programming in the shell and other places asking for more
rights than they need or am I misunderstanding the meaning of
.....->DesiredAccess
--
Gak -
Finecats

Re: Why are so many files being opened with WriteAccess requested? by Robert

Robert
Thu Jan 13 23:11:19 CST 2005

finecats wrote:
> Is this lazy programming in the shell and other places asking for more
> rights than they need or am I misunderstanding the meaning of
> .....->DesiredAccess

Probably the bad example(s) of the DDK.
Just last week i had someone asking why he could not read from such a
file handle.