From 35d2e490f3f99a73a2c815812281a011aa1162b1 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Sun, 4 Feb 2024 21:45:34 -0600 Subject: [PATCH] func_create_ff.cpp --- src/func_create_ff.cpp | 3 +++ 1 file changed, 3 insertions(+) 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)) {