git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fa3f7d
)
vfs: Allow CREATOR GROUP to be used with vfs_zfsacl
author
Andrew Bartlett
<abartlet@samba.org>
Sun, 28 Apr 2013 08:20:04 +0000
(18:20 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 9 May 2013 04:18:21 +0000
(06:18 +0200)
The solaris acl() code requires that both ACE_GROUP|ACE_IDENTIFIER_GROUP be
set to indicate the @group permissions.
Otherwise, it would return Invalid Paramter to clients.
Andrew Bartlett
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_zfsacl.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_zfsacl.c
b/source3/modules/vfs_zfsacl.c
index 93a0faa6d5cbbbaa6231396e33f026eaf4df9b6f..dbae50b4648e6d17127cdcd6d9db15e6c96cf300 100644
(file)
--- a/
source3/modules/vfs_zfsacl.c
+++ b/
source3/modules/vfs_zfsacl.c
@@
-142,7
+142,7
@@
static bool zfs_process_smbacl(vfs_handle_struct *handle, files_struct *fsp, SMB
acebuf[i].a_flags |= ACE_OWNER;
break;
case SMB_ACE4_WHO_GROUP:
- acebuf[i].a_flags |= ACE_GROUP;
+ acebuf[i].a_flags |= ACE_GROUP
|ACE_IDENTIFIER_GROUP
;
break;
default:
DEBUG(8, ("unsupported special_id %d\n", \