On Fri, Jul 9, 2010 at 4:32 PM, Shlomo Solomon <shlomo.solo...@gmail.com>wrote:
> On Friday 09 July 2010, shimi wrote: > > On Fri, Jul 9, 2010 at 3:46 PM, Shlomo Solomon > > > 1. Change all_squash to root_squash in /etc/exports > > 2. Run exportfs -a > > Bingo - thanks > > I'm curious as to why this happened. As I wrote, I don't think I changed > anything except for updating my wifes' machine. Is it possible that > something > changed in the NFS client (the upgrade on my wifes machine was from > Mandriva > 2007.1 to 2010.0)? > > > As you've noticed, to fix this, you chaged the server, not the client. The client didn't have any issue here. >From "man exports": all_squash Map all uids and gids to the anonymous user. Useful for NFS-exported public FTP directories, news spool directories, etc. The opposite option is no_all_squash, which is the default setting. Not too surprisingly, the NFS server mapped your wife's UID to... the anonymous user. Quoting from your original e-mail: Permissions seem OK. Here's an example of a file in /public/share_all/shoshana -rwxr-xr-x 1 shoshana shoshana 168448 2009-01-05 07:09 test.doc* What permission do you see for the anonymous user? (e.g. "other") ? r-x ... which is... read-only. If your /etc/exports was not changed, and always worked like that, I cannot explain this. Side of perhaps having a uid match between the anon NFS user (on the NFS server) and you wife's uid... -- Shimi
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il