mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
platform specific code to deal with sete{u,g}id. closes #17
This commit is contained in:
parent
716453596a
commit
0e12d79659
39 changed files with 323 additions and 131 deletions
|
|
@ -28,7 +28,6 @@
|
|||
#include <fuse.h>
|
||||
|
||||
#include "config.hpp"
|
||||
#include "ugid.hpp"
|
||||
#include "fileinfo.hpp"
|
||||
#include "write.hpp"
|
||||
|
||||
|
|
@ -93,8 +92,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_buf_controlfile(config.controlfile,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue