: In days of yore (Fri, 12 Jan 1996 05:54:00 GMT)
: :Hello All,
: :I have a Caldera/RedHat 2.0 system that will not allow NFS mounted
: :directories to be written to. I've tried mounting from another
: :Caldera/RedHat system, as well as a FreeBSD 2.0 system and get the
: :same results.
By default, NFS will not allow root (UID 0) to write any mounted file systems
and will only allow users with the same UID as the owner on the mounted
drive to write to mounted systems -- the point being that if your UIDs don't
match for a given login on either system, you need to make them match.
Quick/dirty/risky UID change:
Look at the passwd line on system 1:
joe:Hhs8HhJKlkjl:501:100:Joe User:/home/joe:/bin/csh
and the line on system 2:
joe:Hhs8HhJKlkjl:4099:100:Joe User:/home/55/joe:/bin/csh
and then, on the machine you want to change, (just for fun LOG IN as root,
don't "su"if you are joe...), change the UID in the /etc/passwd file, go to /home and do a
chown -R joe joe.
If there are things in joe's tree that shouldn't be joe's, you should probably
unmount them or do the chown a directory at a time.
: :I believe that my exports file is correct, since I can mount the remote
: :volume. Even when I explicitly add "rw" to the mount command, if I go
: :to write to the directory (as root or as a user), it denies permission
: :to write the file.
: :This is particularly troublesome since the directory mounted is the
: :/home directory for users! Can anyone shed light on what I might be
: :doing wrong? Any help will be appreciated.
: What are the permission of the home directory *before*
: anything is mounted on it (and it is exported)?
: :Thanks
: :Frank Kelly
: --
: /> JaDe | Star <\
: /< \|/ >\
: *[/////|:::====================- --*-- -=====================:::|\\\\\]*
: \< /|\ >/