mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-19 16:16:48 +00:00
fs_mknod_as.hpp
This commit is contained in:
@@ -43,6 +43,9 @@ namespace fs
|
||||
{
|
||||
int rv;
|
||||
|
||||
if(not fs::acl::dir_has_defaults(path_))
|
||||
mode_ &= ~umask_;
|
||||
|
||||
rv = fs::mknod(path_,mode_,dev_);
|
||||
|
||||
fs::lchown(path_,ugid_.uid,ugid_.gid);
|
||||
|
||||
Reference in New Issue
Block a user