diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2002-08-21 19:59:23 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2002-08-21 19:59:23 +0000 |
commit | d3aa76cef528a15571cade12ebdd10973f4ca579 (patch) | |
tree | bf5d26005dc4f8c88d58532c3aa1728c36edf01b /source3/libsmb | |
parent | 30e51241ecdda2724c441e372e6f99857719630f (diff) | |
download | samba-d3aa76cef528a15571cade12ebdd10973f4ca579.tar.gz samba-d3aa76cef528a15571cade12ebdd10973f4ca579.tar.bz2 samba-d3aa76cef528a15571cade12ebdd10973f4ca579.zip |
Patch from Paul Green <Paul.Green@stratus.com> to be more POSIX-compatible
(This used to be commit addf29e6765393b25c35bd833d29e29e4581c233)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clifile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index a47c956a55..07b1ff6b6f 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -94,7 +94,7 @@ uint32 unix_perms_to_wire(mode_t perms) ret |= ((perms & S_ISGID) ? UNIX_SET_GID : 0); #endif #ifdef S_ISUID - ret |= ((perms & S_ISVTX) ? UNIX_SET_UID : 0); + ret |= ((perms & S_ISUID) ? UNIX_SET_UID : 0); #endif return ret; } |