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

smbd: Ensure we grant owner sid in check_parent_access_fsp()

Grant owner sid to check for owner rights.

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

Signed-off-by: MikeLiu <mikeliu@qnap.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jun  7 18:30:34 UTC 2024 on atb-devel-224
This commit is contained in:
MikeLiu 2024-05-31 15:31:46 +08:00 committed by Jeremy Allison
parent 5d73bb4acd
commit a9b3522f53

View File

@ -355,7 +355,7 @@ NTSTATUS check_parent_access_fsp(struct files_struct *fsp,
}
status = SMB_VFS_FGET_NT_ACL(fsp,
SECINFO_DACL,
(SECINFO_OWNER | SECINFO_GROUP | SECINFO_DACL),
frame,
&parent_sd);