diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-04-28 18:20:04 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-05-09 06:18:21 +0200 |
commit | 00cb6354cfe007e4c0c25a508ce5008f9a69e5d2 (patch) | |
tree | c2c381aade7a147c1be9e605671e07a483ec7ea6 /source3 | |
parent | 6fa3f7d0f4f5de8b6ef85fa729e0a572b831a738 (diff) | |
download | samba-00cb6354cfe007e4c0c25a508ce5008f9a69e5d2.tar.gz samba-00cb6354cfe007e4c0c25a508ce5008f9a69e5d2.tar.bz2 samba-00cb6354cfe007e4c0c25a508ce5008f9a69e5d2.zip |
vfs: Allow CREATOR GROUP to be used with vfs_zfsacl
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>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_zfsacl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_zfsacl.c b/source3/modules/vfs_zfsacl.c index 93a0faa6d5..dbae50b464 100644 --- 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", \ |