fs_acl.cpp

This commit is contained in:
Antonio SJ Musumeci 2024-02-06 23:55:19 -06:00
parent cf807476f1
commit a10dddf24d

View file

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