Hi All,

I'm trying to disable root_squash on my mounted folders.

I've set the "Squash = No_root_squash" option in the configuration file but
the uid/gid are still defined as nobody:nobody. The strange thing is that
when I execute chown user1:user1 on one of the files in the mounted folder
it will then list the uid/gid of all of the files that have this user to
the correct values but only for that user.

Example:

[mounted_folder]# ll
total 0
-rwxrwxrwt. 0 nobody  nobody           57471 Apr  4  4461753 hello.jpg
-rwxrwxrwt. 0 nobody  nobody           57471 Apr  4  4461753 hello1.jpg
-rwxrwxrwt. 0 nobody  nobody           57471 Apr  4  4461753 hello2.jpg
-rwxrwxrwt. 0 nobody  nobody           57471 Apr  4  4461753 hello3.jpg
-rwxrwxrwt. 0 nobody  nobody           57471 Apr  4  4461753 hello4.jpg

[mounted_folder]# chown root:root hello.jpg

[mounted_folder]# ll
total 0
-rwxrwxrwt. 0 root       root                57471 Apr  4  4461753 hello.jpg
-rwxrwxrwt. 0 nobody  nobody           57471 Apr  4  4461753 hello1.jpg
-rwxrwxrwt. 0 root       root                57471 Apr  4  4461753
hello2.jpg
-rwxrwxrwt. 0 root       root                57471 Apr  4  4461753
hello3.jpg
-rwxrwxrwt. 0 nobody  nobody           57471 Apr  4  4461753 hello4.jpg

[mounted_folder]# chown user1:user1 hello1.jpg

[mounted_folder]# ll
total 0
-rwxrwxrwt. 0 root       root                57471 Apr  4  4461753 hello.jpg
-rwxrwxrwt. 0 user1     user1             57471 Apr  4  4461753 hello1.jpg
-rwxrwxrwt. 0 root       root                57471 Apr  4  4461753
hello2.jpg
-rwxrwxrwt. 0 root       root                57471 Apr  4  4461753
hello3.jpg
-rwxrwxrwt. 0 user1     user1             57471 Apr  4  4461753 hello1.jpg


Is there some additional options I need to use to enable no root squash
from the mount stage?

Thanks,
Adi
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to