Ensure when setting a POSIX ACL, that the uid for a
authorJeremy Allison <jra@samba.org>
Sat, 4 Feb 2012 00:37:41 +0000 (16:37 -0800)
committerJeremy Allison <jra@samba.org>
Sat, 4 Feb 2012 00:37:41 +0000 (16:37 -0800)
commit4452082002cb222cc8f1d92fbeebda79061f6e8f
tree479b40bb365545c8dcf56d0651a9847f436bb5e4
parent6a31e0f4f21affeea332d92d5249a2a877cc3b42
Ensure when setting a POSIX ACL, that the uid for a
SMB_ACL_USER_OBJ ACE (the owner ACE entry) has a duplicate
permission entry as an SMB_ACL_USER, and a gid for a
SMB_ACL_GROUP_OBJ ACE (the primary group ACE entry) also has
a duplicate permission entry as an SMB_ACL_GROUP. If not,
then if the ownership or group ownership of this file or
directory gets changed, the user or group can lose their
access.
source3/smbd/posix_acls.c