mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
fs_acl.cpp
This commit is contained in:
parent
cf807476f1
commit
a10dddf24d
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue