diff --git a/src/func_create_ff.cpp b/src/func_create_ff.cpp index 1ae5eec9..ff5f3bca 100644 --- a/src/func_create_ff.cpp +++ b/src/func_create_ff.cpp @@ -61,7 +61,7 @@ namespace l if((rv == -1) && (errno == ENOENT)) { branches_.clonepath(branch.path,fusepath_); - rv = fs::open(fullpath,ffi_->flags,mode); + rv = fs::openat(branch.fd,fusepath_,ffi_->flags,mode); } if((rv == -1) && (errno == EROFS)) {