disable root_squash

iliak

Contributor
Joined
Dec 18, 2018
Messages
148
how i can disable root squash?


when i create a file ( on linux system) for example with user root,
the root is not the owner of the filer, the owner is a very large id 4294967294

possible solution:
The way I set up the NFS share was to set the Maproot user to "root" and the Maproot Group to "wheel"
but is it the the best solution?
 
Last edited:

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288

iliak

Contributor
Joined
Dec 18, 2018
Messages
148

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
There's bug in FN11.2 which in some circumstances can set the exports to v4 when the gui says for the NFS service is set to version 3. It's worth checking the contents of /etc/exports on FreeNAS. For nfsv3, surely ui/gid of root:wheel on FN matches root:root on linux, Without -maproot=root on FN exports, the client's root user will be mapped to the server's nobody account which has the same uid on both Fn & linux, so how do you explain the odd large id of 4294967294?
 

iliak

Contributor
Joined
Dec 18, 2018
Messages
148
freenas.png
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
Output of cat /etc/exports ?
 

iliak

Contributor
Joined
Dec 18, 2018
Messages
148

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
Never seen " id 4294967294" unless NFSv4 is in the mix.
 
Top