[ros-dev] Re: [ros-diffs] [hbirr] 17912: The share disposition
isn't necessary for FILE_READ_ATTRIBUTES.
hardon at online.no
Sun Sep 18 17:08:57 CEST 2005
Hartmut Birr wrote:
> Gunnar Dalsnes wrote:
>>Is this correct? I can't see how... Even GENERIC_READ imply
>>FILE_READ_ATTRIBUTES and using your "share disposition isn't necessary
>>for FILE_READ_ATTRIBUTES rule" this means file sharing isnt needed
>>for GENERIC_READ either...
> GENERIC_READ contains FILE_READ_ATTRIBUTERS and FILE_READ_DATA. If a
> file is opened for reading without share access, a second open with
> GENERIC_READ does fail. A second open with FILE_READ_ATTRIBUTES is possible.
Ok... And this works both in Ros and Windows i hope. But still this
sounds like taking advantage of some undocumented internal behaviour
(cant find it ducumented anywhere). Using full share access produce
exactly the same result(?), doesnt hurt(?) and looks more correct imo.
> - Hartmut
> Ros-dev mailing list
> Ros-dev at reactos.com
More information about the Ros-dev