diff --git a/src/fs_acl.cpp b/src/fs_acl.cpp index 79c3b947..abfaa02c 100644 --- a/src/fs_acl.cpp +++ b/src/fs_acl.cpp @@ -46,6 +46,10 @@ namespace fs const ghc::filesystem::path &relpath_) { int rv; + int fd; + + fd = fs::openat(fd_,relpath_.parent_path().string(),O_RDONLY); + rv = fs::fgetxattr(fd_,relpath_.c_str(),POSIX_ACL_DEFAULT_XATTR,NULL,0);