LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   nfs: all_squash vs. squash_uids/squash_gids (http://www.linuxquestions.org/questions/linux-networking-3/nfs-all_squash-vs-squash_uids-squash_gids-283244/)

Janger 01-28-2005 06:48 AM

nfs: all_squash vs. squash_uids/squash_gids
 
Hi,

I have a problem setting up an nfs export properly. I use one of the following two directives in the server's /etc/exports (insecure only for testing purposes, where the Xs are my server's IP, user 500:500 owns the directory on the server):

/home/jeden XX.XXX.XX.XX(rw,squash_uids=501,squash_gids=20,insecure,anonuid=500,anongid=500)

/home/jeden XX.XXX.XX.XX(rw,all_squash,insecure,anonuid=500,anongid=500)

With both directives, I can mount the directory. But only the second one will give me r/w access afterwards.

So all_squash obviously works, while the selective squashing does not. Why isn't it possible to selectively squash my local uid/gid?

Thanks,

Jan


All times are GMT -5. The time now is 04:27 PM.