diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-08-05 12:07:08 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-08-05 12:08:30 +1000 |
commit | 15a6a93d35e5be0ed24377006060ff66802d6844 (patch) | |
tree | 5e33e863f1afa2fe958a0cf6f649f8f6a84fb1dc /source4/ntvfs | |
parent | 46bd2271b24b2b6b68541e867c3e87f7d217267c (diff) | |
download | samba-15a6a93d35e5be0ed24377006060ff66802d6844.tar.gz samba-15a6a93d35e5be0ed24377006060ff66802d6844.tar.bz2 samba-15a6a93d35e5be0ed24377006060ff66802d6844.zip |
fixed the sense of the pvfs_acl uwrap check
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/posix/pvfs_acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_acl.c b/source4/ntvfs/posix/pvfs_acl.c index 232883911e..203b6b11c0 100644 --- a/source4/ntvfs/posix/pvfs_acl.c +++ b/source4/ntvfs/posix/pvfs_acl.c @@ -473,7 +473,7 @@ NTSTATUS pvfs_access_check_unix(struct pvfs_state *pvfs, max_bits |= SEC_STD_ALL; } - if (!uwrap_enabled()) { + if (uwrap_enabled()) { /* when running with the uid wrapper, files will be created owned by the ruid, but we may have a different simulated euid. We need to force the permission bits as though the |