mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-20 23:16:27 -05:00
func_mknod_ff.cpp
This commit is contained in:
parent
e0cf997312
commit
d36688c752
1 changed files with 2 additions and 0 deletions
|
|
@ -43,6 +43,8 @@ Func2::MknodFF::operator()(const ugid_t &ugid_,
|
|||
|
||||
path = dst_branch.path / fusepath_;
|
||||
|
||||
if(!fs::acl::dir_has_defaults(path))
|
||||
mode_ &= ~umask_;
|
||||
rv = fs::mknod_as(ugid_,path,mode_,dev_);
|
||||
if(rv == 0)
|
||||
return rv;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue