r11237: Fix acl evaluation bug found by Marc Cousin <mcousin@sigma.fr>
authorJeremy Allison <jra@samba.org>
Thu, 20 Oct 2005 21:10:05 +0000 (21:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:05:09 +0000 (11:05 -0500)
commit7e1318e09bd4b155707020142b08776a546a646e
treef2dc0d2d814bc9f7233da3029895ed30380691f4
parentee91eb9a39cc5e3edd9e97eb040e7557930e4e62
r11237: Fix acl evaluation bug found by Marc Cousin <mcousin@sigma.fr>
We should only check the S_IWGRP permissions if we haven't already
seen an owning group SMB_ACL_GROUP_OBJ ace entry. If there is an
SMB_ACL_GROUP_OBJ ace entry then the group bits in st_gid are
the same as the SMB_ACL_MASK bits, not the SMB_ACL_GROUP_OBJ
bits. Thanks to Marc Cousin <mcousin@sigma.fr> for pointing
this out.
Jeremy.
source/smbd/posix_acls.c