Browse Source

fs_acl.cpp

toml4
Antonio SJ Musumeci 9 months ago
parent
commit
a10dddf24d
  1. 4
      src/fs_acl.cpp

4
src/fs_acl.cpp

@ -46,6 +46,10 @@ namespace fs
const ghc::filesystem::path &relpath_) const ghc::filesystem::path &relpath_)
{ {
int rv; 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); rv = fs::fgetxattr(fd_,relpath_.c_str(),POSIX_ACL_DEFAULT_XATTR,NULL,0);

Loading…
Cancel
Save