1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

use gid_t for gids not uid_t

(This used to be commit a369c2ff26)
This commit is contained in:
Simo Sorce 2003-04-19 15:31:40 +00:00
parent a1fb9f2176
commit 7706e98d9d

View File

@ -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;
/*