git://scientific.zcu.cz
/
dmlite-plugins-vfs-old.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ce7456
)
Proper check for default ACL in create().
author
František Dvořák
<valtri@civ.zcu.cz>
Fri, 18 Oct 2013 14:31:27 +0000
(16:31 +0200)
committer
František Dvořák
<valtri@civ.zcu.cz>
Sat, 19 Oct 2013 19:15:59 +0000
(21:15 +0200)
src/VfsNs.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/VfsNs.cpp
b/src/VfsNs.cpp
index
8a4a120
..
21f8375
100644
(file)
--- a/
src/VfsNs.cpp
+++ b/
src/VfsNs.cpp
@@
-573,7
+573,7
@@
void VfsCatalog::create(const std::string& path, mode_t mode) throw (DmException
}
// Generate inherited ACL's if there are defaults
- if (parent.acl.has(AclEntry::kDefault | AclEntry::kUserObj))
+ if (parent.acl.has(AclEntry::kDefault | AclEntry::kUserObj)
!= -1
)
newAcl = Acl(parent.acl, getUid(this->secCtx_), egid, mode, &mode);
// Create new