Browse Source

fs_acl.cpp

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

4
src/fs_acl.cpp

@ -45,7 +45,11 @@ namespace fs
dir_has_defaults(const int fd_, dir_has_defaults(const int fd_,
const ghc::filesystem::path &relpath_) const ghc::filesystem::path &relpath_)
{ {
int rv;
rv = fs::fgetxattr(fd_,relpath_.c_str(),POSIX_ACL_DEFAULT_XATTR,NULL,0);
return (rv != -1);
} }
} }
} }
Loading…
Cancel
Save