doing mount with non-fake uid gid
This commit is contained in:
parent
a25a5221d9
commit
24c28df19d
4 changed files with 18 additions and 2 deletions
|
|
@ -72,6 +72,8 @@ static int handle_mount(nfs41_upcall *upcall)
|
|||
goto out;
|
||||
}
|
||||
// add a mount
|
||||
root->uid = upcall->uid;
|
||||
root->gid = upcall->gid;
|
||||
status = nfs41_root_mount_addrs(root, &addrs, 0, 0, &client);
|
||||
if (status) {
|
||||
eprintf("nfs41_root_mount() failed with %d\n", status);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue