git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46bd227
)
fixed the sense of the pvfs_acl uwrap check
author
Andrew Tridgell
<tridge@samba.org>
Wed, 5 Aug 2009 02:07:08 +0000
(12:07 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 5 Aug 2009 02:08:30 +0000
(12:08 +1000)
source4/ntvfs/posix/pvfs_acl.c
patch
|
blob
|
history
diff --git
a/source4/ntvfs/posix/pvfs_acl.c
b/source4/ntvfs/posix/pvfs_acl.c
index 232883911e13ff136d28355a8533200ea941fecf..203b6b11c081f300b9f8aa2e0d924f584a2cc0e1 100644
(file)
--- 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