mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-06-21 04:41:25 +08:00
only allow manipulation of runtime settings via xattrs. closes #22
This commit is contained in:
@ -37,7 +37,6 @@
|
||||
|
||||
using std::string;
|
||||
using std::vector;
|
||||
using mergerfs::Policy;
|
||||
|
||||
static
|
||||
int
|
||||
@ -75,9 +74,6 @@ namespace mergerfs
|
||||
const config::Config &config = config::get();
|
||||
const ugid::SetResetGuard ugid(fc->uid,fc->gid);
|
||||
|
||||
if(from == config.controlfile)
|
||||
return -ENOENT;
|
||||
|
||||
return _rename(*config.search,
|
||||
config.srcmounts,
|
||||
from,
|
||||
|
Reference in New Issue
Block a user