mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-22 16:06:27 -05:00
fs_acl.cpp
This commit is contained in:
parent
20379e4dec
commit
cf807476f1
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue