From: František Dvořák Date: Fri, 18 Oct 2013 08:06:03 +0000 (+0200) Subject: Parent directory permissions are enough for extendedStat(). X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=bd2948f456840518df71200b0234f401e9b1077a;p=dmlite-plugins-vfs-old.git Parent directory permissions are enough for extendedStat(). --- diff --git a/src/VfsNs.cpp b/src/VfsNs.cpp index b043e08..df597e3 100644 --- a/src/VfsNs.cpp +++ b/src/VfsNs.cpp @@ -337,9 +337,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,