mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3/modules: linux_xfs_sgid_mkdirat() SMB_VFS_NEXT_FCHMOD => SMB_VFS_NEXT_CHMOD
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
cb571d2b47
commit
dda3d953a0
@ -94,7 +94,7 @@ static int linux_xfs_sgid_mkdirat(vfs_handle_struct *handle,
|
||||
* return success. What can you do...
|
||||
*/
|
||||
become_root();
|
||||
res = SMB_VFS_NEXT_CHMOD(handle, fname, fname->st.st_ex_mode);
|
||||
res = SMB_VFS_NEXT_FCHMOD(handle, smb_fname->fsp, fname->st.st_ex_mode);
|
||||
unbecome_root();
|
||||
|
||||
if (res == -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user