Did you installed libnfsidmap packages?

libnfsidmap-devel-0.26-3.1.fc23.x86_64 and libnfsidmap-0.26-3.1.fc23.x86_64

It should resolve the issue

--

Jiffin

On 12/05/16 13:43, Adi Kant wrote:
Hey I did some more investigating and found this article from 2012

https://github.com/phdeniel/nfs-ganesha/wiki/nfsidmap

This apparently has nothing to do with root squshing but instead with my mounted folder not being able to parse the uid and gid. Do we still used idmaped to resolve this or could it be something else?

Thanks,
Adi

On Thu, May 12, 2016 at 9:41 AM, Adi Kant <adilicious...@gmail.com <mailto:adilicious...@gmail.com>> wrote:

    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

------------------------------------------------------------------------------
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