Ownership problem with NFS exported /home

CB fedoralist at crispin.cb-ss.net
Mon Sep 20 23:10:47 UTC 2004


On Tue, 2004-09-21 at 00:49, David L Norris wrote:
> On Mon, 2004-09-20 at 21:02 +1000, CB wrote:
> > /home-ext/<username>           
> > 192.168.0.1/24(rw,wdelay,insecure,root_squash,no_subtree_check,fsid=0,anonuid=65563,anongid=65535)
> 
> > Anyone know what I am doing wrong, or can suggest how to troubleshoot
> > further?
> 
> What's with all the options?  Have you tried exporting the home
> directory using simple options?  Just divide and conquer the options
> until you find the one that is causing your problem.
> 
> This should always work:
>   /home    192.168.0.0/255.255.255.0(rw,root_squash)

For some reason on my (FC2) system, the fsid option is necessary, but I
can get away without the other options, at least for testing purposes.
So that leaves me with:

	/home    192.168.0.0/255.255.255.0(rw,root_squash,fsid=0)

(Without the fsid, I can't connect the client).

But whichever options I do or don't use, I'm still finding that the UID
and GID of all files and dirs shown  by ls -n in the user's home
directory once connected are 0 and 1 respectively, whereas on the server
they are 500 and 500. The upshot is that the user on the remote machine
only has read access to most of the home directory.

Why would the UID and GID be different on the NFS and client machines?





More information about the fedora-list mailing list