|
@ -31,10 +31,12 @@ namespace l |
|
|
fuse_file_info_t *ffi_) |
|
|
fuse_file_info_t *ffi_) |
|
|
{ |
|
|
{ |
|
|
int rv; |
|
|
int rv; |
|
|
|
|
|
mode_t mode; |
|
|
FileInfo *fi; |
|
|
FileInfo *fi; |
|
|
fs::info_t info; |
|
|
fs::info_t info; |
|
|
ghc::filesystem::path fullpath; |
|
|
ghc::filesystem::path fullpath; |
|
|
|
|
|
|
|
|
|
|
|
mode = mode_; |
|
|
for(auto &tier : branches_) |
|
|
for(auto &tier : branches_) |
|
|
{ |
|
|
{ |
|
|
for(auto &branch : tier) |
|
|
for(auto &branch : tier) |
|
@ -51,8 +53,8 @@ namespace l |
|
|
|
|
|
|
|
|
fullpath = branch.path / fusepath_; |
|
|
fullpath = branch.path / fusepath_; |
|
|
|
|
|
|
|
|
// if(!fs::acl::dir_has_defaults(fullpath))
|
|
|
|
|
|
// mode_ &= ~umask_;
|
|
|
|
|
|
|
|
|
if(!fs::acl::dir_has_defaults(fullpath)) |
|
|
|
|
|
mode_ &= ~umask_; |
|
|
|
|
|
|
|
|
rv = fs::open(fullpath,ffi_->flags,mode_); |
|
|
rv = fs::open(fullpath,ffi_->flags,mode_); |
|
|
if((rv == -1) && (errno == ENOENT)) |
|
|
if((rv == -1) && (errno == ENOENT)) |
|
|