fs_acl.cpp

This commit is contained in:
Antonio SJ Musumeci 2024-02-06 23:45:55 -06:00
parent 20379e4dec
commit cf807476f1

View file

@ -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);
}
}
}