summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-08-05 12:07:08 +1000
committerAndrew Tridgell <tridge@samba.org>2009-08-05 12:08:30 +1000
commit15a6a93d35e5be0ed24377006060ff66802d6844 (patch)
tree5e33e863f1afa2fe958a0cf6f649f8f6a84fb1dc /source4/ntvfs
parent46bd2271b24b2b6b68541e867c3e87f7d217267c (diff)
downloadsamba-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.c2
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