diff --git a/src/fs_acl.cpp b/src/fs_acl.cpp index 5f3828ca..79c3b947 100644 --- a/src/fs_acl.cpp +++ b/src/fs_acl.cpp @@ -45,7 +45,11 @@ namespace fs dir_has_defaults(const int fd_, const ghc::filesystem::path &relpath_) { + int rv; + + rv = fs::fgetxattr(fd_,relpath_.c_str(),POSIX_ACL_DEFAULT_XATTR,NULL,0); + return (rv != -1); } } }