summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2003-04-19 15:31:40 +0000
committerSimo Sorce <idra@samba.org>2003-04-19 15:31:40 +0000
commit7706e98d9d170dd9dde398b0a5c67790e29d803b (patch)
treeb1021e00ded8518c15102ba798270f9b3d042c93 /source3
parenta1fb9f217659b0954ba0966f917de5276f86c85f (diff)
downloadsamba-7706e98d9d170dd9dde398b0a5c67790e29d803b.tar.gz
samba-7706e98d9d170dd9dde398b0a5c67790e29d803b.tar.bz2
samba-7706e98d9d170dd9dde398b0a5c67790e29d803b.zip
use gid_t for gids not uid_t
(This used to be commit a369c2ff2637dc808035217eaada4cf923c5cf6d)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/posix_acls.c2
1 files changed, 1 insertions, 1 deletions
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;
/*