Add comments explaining exactly *why* we don't check FILE_READ_ATTRIBUTES when evalua...
commit4985332b951d8cd46c9c0cd877875ab7839b4edb
authorJeremy Allison <jra@samba.org>
Wed, 14 Nov 2012 22:40:50 +0000 (14 14:40 -0800)
committerMichael Adam <obnox@samba.org>
Mon, 19 Nov 2012 12:16:09 +0000 (19 13:16 +0100)
tree47018f8691a3f4228a1825cdea2666347bb1adfa
parente6a100e86b7adf1c06a7c06b24fa50717ddcdb67
Add comments explaining exactly *why* we don't check FILE_READ_ATTRIBUTES when evaluating file/directory ACE's.

If we can access the path to this file, by
default we have FILE_READ_ATTRIBUTES from the
containing directory. See the section.
"Algorithm to Check Access to an Existing File"
in MS-FSA.pdf.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/open.c