mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
idmap mount support (#1523)
* Add idmap mount support * Further replacement of std::filesystem::path to fs::path * Update docs regarding idmap support
This commit is contained in:
parent
8c649d33ee
commit
ca59ae53a5
22 changed files with 73 additions and 49 deletions
|
|
@ -1203,6 +1203,8 @@ do_init(fuse_req_t req,
|
|||
f->conn.capable |= FUSE_CAP_HANDLE_KILLPRIV;
|
||||
if(inargflags & FUSE_HANDLE_KILLPRIV_V2)
|
||||
f->conn.capable |= FUSE_CAP_HANDLE_KILLPRIV_V2;
|
||||
if(inargflags & FUSE_ALLOW_IDMAP)
|
||||
f->conn.capable |= FUSE_CAP_ALLOW_IDMAP;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -1280,6 +1282,9 @@ do_init(fuse_req_t req,
|
|||
outargflags |= FUSE_HANDLE_KILLPRIV;
|
||||
if(f->conn.want & FUSE_CAP_HANDLE_KILLPRIV_V2)
|
||||
outargflags |= FUSE_HANDLE_KILLPRIV_V2;
|
||||
if(f->conn.want & FUSE_CAP_ALLOW_IDMAP)
|
||||
outargflags |= FUSE_ALLOW_IDMAP;
|
||||
|
||||
if(f->conn.want & FUSE_CAP_PASSTHROUGH)
|
||||
{
|
||||
outargflags |= FUSE_PASSTHROUGH;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue