mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
parent
a1fb9f2176
commit
7706e98d9d
@ -2593,7 +2593,7 @@ BOOL set_nt_acl(files_struct *fsp, uint32 security_info_sent, SEC_DESC *psd)
|
||||
* Do we need to chown ?
|
||||
*/
|
||||
|
||||
if (((user != (uid_t)-1) && (orig_uid != user)) || (( grp != (uid_t)-1) && (orig_gid != grp)))
|
||||
if (((user != (uid_t)-1) && (orig_uid != user)) || (( grp != (gid_t)-1) && (orig_gid != grp)))
|
||||
need_chown = True;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user