Browse Source

func_create_ff.cpp

toml4
Antonio SJ Musumeci 9 months ago
parent
commit
bbf4b6e52a
  1. 3
      src/func_create_ff.cpp

3
src/func_create_ff.cpp

@ -77,9 +77,12 @@ Func::CreateFF::operator()(Branches2 &branches_,
fuse_file_info_t *ffi_) fuse_file_info_t *ffi_)
{ {
int rv; int rv;
Config::Read cfg;
fuse_context const *fc = fuse_get_context(); fuse_context const *fc = fuse_get_context();
ugid::Set const ugid(fc->uid,fc->gid); ugid::Set const ugid(fc->uid,fc->gid);
utils::cfg_to_ffi_flags(cfg,fc->pid,ffi_);
rv = l::create(branches_,fusepath_,mode_,fc->umask,ffi_); rv = l::create(branches_,fusepath_,mode_,fc->umask,ffi_);
return rv; return rv;

Loading…
Cancel
Save