git://scientific.zcu.cz
/
dmlite-plugins-vfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e35ebb
)
Parent directory permissions are enough for extendedStat().
author
František Dvořák
<valtri@civ.zcu.cz>
Sat, 19 Oct 2013 19:15:59 +0000
(21:15 +0200)
committer
František Dvořák
<valtri@civ.zcu.cz>
Sun, 23 Feb 2014 13:16:19 +0000
(14:16 +0100)
src/VfsNs.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/VfsNs.cpp
b/src/VfsNs.cpp
index
dc272ac
..
d9291f9
100644
(file)
--- a/
src/VfsNs.cpp
+++ b/
src/VfsNs.cpp
@@
-338,9
+338,6
@@
ExtendedStat VfsCatalog::extendedStat(const std::string& path, bool follow) thro
// use the retrieved xattrs
vfsUpdateExtendedStat(meta, xattrs);
- if (checkPermissions(this->secCtx_, meta.acl, meta.stat, S_IREAD) != 0)
- vfsThrow(EACCES, "not enough permissions for '%s' to read '%s'", clientName.c_str(), meta.name.c_str());
-
#if 0
// XXX: black magic
// dmlite tests require proper count in st_nlink,