diff --git a/src/func_create_ff.cpp b/src/func_create_ff.cpp index 009d4e07..a3ca1477 100644 --- a/src/func_create_ff.cpp +++ b/src/func_create_ff.cpp @@ -56,7 +56,7 @@ namespace l if(!fs::acl::dir_has_defaults(fullpath)) mode &= ~umask_; - rv = fs::open(fullpath,ffi_->flags,mode); + rv = fs::openat(branch.fd,fusepath_,ffi_->flags,mode); if((rv == -1) && (errno == ENOENT)) { branches_.clonepath(branch.path,fusepath_);