mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
make changing credentials opportunistic + per thread setgroups cache
closes #129,#131
This commit is contained in:
parent
b194272e39
commit
3163258a33
31 changed files with 380 additions and 168 deletions
|
|
@ -87,8 +87,8 @@ namespace mergerfs
|
|||
if(fusepath == config.controlfile)
|
||||
return -ENOTSUP;
|
||||
|
||||
const ugid::SetResetGuard ugid(fc->uid,fc->gid);
|
||||
const rwlock::ReadGuard readlock(&config.srcmountslock);
|
||||
const ugid::Set ugid(fc->uid,fc->gid);
|
||||
const rwlock::ReadGuard readlock(&config.srcmountslock);
|
||||
|
||||
return _removexattr(config.removexattr,
|
||||
config.srcmounts,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue