summaryrefslogtreecommitdiffstats
path: root/source3/smbd/posix_acls.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-03-23 19:35:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:15 -0500
commit8b6a50cf3ecad43fbb70b778983231d7ec5adbbc (patch)
tree128023cd729a90f0c4237a5ce1cab76214d55241 /source3/smbd/posix_acls.c
parent97978aa86577375ab035ce76b4af6a1acb13f78e (diff)
downloadsamba-8b6a50cf3ecad43fbb70b778983231d7ec5adbbc.tar.gz
samba-8b6a50cf3ecad43fbb70b778983231d7ec5adbbc.tar.xz
samba-8b6a50cf3ecad43fbb70b778983231d7ec5adbbc.zip
r6001: Oops. Checing the wrong tagtype - should have been SMB_ACL_GROUP, not SMB_ACL_MASK.
Fix bug #2521. Jeremy. (This used to be commit 21e3cf2f8f6129324ebb799f959f8d2afe0285d2)
Diffstat (limited to 'source3/smbd/posix_acls.c')
-rw-r--r--source3/smbd/posix_acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index c5f96db85c1..c5fa035c69c 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -3840,7 +3840,7 @@ static int check_posix_acl_group_write(connection_struct *conn, const char *dnam
}
}
break;
- case SMB_ACL_MASK:
+ case SMB_ACL_GROUP:
{
gid_t *pgid = (gid_t *)SMB_VFS_SYS_ACL_GET_QUALIFIER(conn, entry);
if (pgid == NULL) {