From d97d6240e4a4f16339522e4d8e3c8bc250579519 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 19 Apr 2003 15:32:16 +0000 Subject: use gid_t for gids not uid_t (This used to be commit dd8009bf599a6111440cd807dcc022039f19de15) --- source3/smbd/posix_acls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index d4d966a636..a38acc437d 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -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; /* -- cgit