platform specific code to deal with sete{u,g}id. closes #17

This commit is contained in:
Antonio SJ Musumeci 2014-06-17 19:12:09 -04:00
parent 716453596a
commit 0e12d79659
39 changed files with 323 additions and 131 deletions

View file

@ -128,8 +128,7 @@ namespace mergerfs
off_t offset,
struct fuse_file_info *fi)
{
const ugid::SetResetGuard ugid;
const config::Config &config = config::get();
const config::Config &config = config::get();
if(fusepath == config.controlfile)
return _write_controlfile(config::get_writable(),