diff --git a/src/fs_acl.cpp b/src/fs_acl.cpp index e3d6a7c0..1eb590d0 100644 --- a/src/fs_acl.cpp +++ b/src/fs_acl.cpp @@ -50,7 +50,7 @@ namespace fs int rv; int fd; - fd = fs::openat(fd_,relpath_.parent_path(),O_RDONLY|O_DIRECTORY); + fd = fs::openat(dirfd_,relpath_.parent_path(),O_RDONLY|O_DIRECTORY); if(fd < 0) return false;