diff --git a/src/func_create_ff.cpp b/src/func_create_ff.cpp index 5c5e1ee3..85b2e6da 100644 --- a/src/func_create_ff.cpp +++ b/src/func_create_ff.cpp @@ -50,6 +50,9 @@ namespace l fullpath = branch.path / fusepath_; + if(!fs::acl::dir_has_defaults(fullpath)) + mode_ &= ~umask_; + rv = fs::open(fullpath,ffi_->flags,mode_); if((rv == -1) && (errno == EROFS)) {