1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

vfs_zfsacl: add missing inherited flag on hidden "magic" everyone@ ACE

This was an omission in the fixes for bug 14470.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14587

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Dec  1 20:29:34 UTC 2020 on sn-devel-184
This commit is contained in:
Ralph Boehme 2020-11-30 12:28:58 +01:00 committed by Jeremy Allison
parent a8457ac3c8
commit 936f74daed

View File

@ -221,7 +221,8 @@ static bool zfs_process_smbacl(vfs_handle_struct *handle, files_struct *fsp,
acebuf[i].a_type = SMB_ACE4_ACCESS_ALLOWED_ACE_TYPE;
acebuf[i].a_flags = SMB_ACE4_DIRECTORY_INHERIT_ACE |
SMB_ACE4_FILE_INHERIT_ACE |
ACE_EVERYONE;
ACE_EVERYONE |
ACE_INHERITED_ACE;
acebuf[i].a_access_mask = 0;
i++;
}