mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 22:46:34 -05:00
add 'ignore path preserving on rename' feature
This commit is contained in:
parent
b95fbd76ec
commit
a2bddec8c7
10 changed files with 47 additions and 6 deletions
|
|
@ -301,7 +301,7 @@ namespace mergerfs
|
|||
const ugid::Set ugid(fc->uid,fc->gid);
|
||||
const rwlock::ReadGuard readlock(&config.srcmountslock);
|
||||
|
||||
if(config.create->path_preserving())
|
||||
if(config.create->path_preserving() && !config.ignorepponrename)
|
||||
return _rename_preserve_path(config.getattr,
|
||||
config.rename,
|
||||
config.create,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue