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
7ba1b8f332
commit
73c9d86481
1 changed files with 1 additions and 3 deletions
|
|
@ -43,9 +43,7 @@ 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_);
|
||||
rv = fs::mknod_as(ugid_,path,mode_,dev_,umask_);
|
||||
if(rv == 0)
|
||||
return rv;
|
||||
if(rv == -EEXIST)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue