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 | addf29e6765393b25c35bd833d29e29e4581c233 (patch) | |
tree | 478f78053bf880bda21c0bb124f4572cad4bddfc /source/libsmb/clifile.c | |
parent | 287b7bda11100c42f2cdea36a20a81f6ea397f43 (diff) | |
download | samba-addf29e6765393b25c35bd833d29e29e4581c233.tar.gz samba-addf29e6765393b25c35bd833d29e29e4581c233.tar.xz samba-addf29e6765393b25c35bd833d29e29e4581c233.zip |
Patch from Paul Green <Paul.Green@stratus.com> to be more POSIX-compatible
Diffstat (limited to 'source/libsmb/clifile.c')
-rw-r--r-- | source/libsmb/clifile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/clifile.c b/source/libsmb/clifile.c index a47c956a555..07b1ff6b6f5 100644 --- a/source/libsmb/clifile.c +++ b/source/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; } |