Can't export /root, can't rm files on shares...

michaelsanford

Translator, Web Developer
I've got two slackware boxes, one of which is my backup machine.

Instead of always trying to get my two /root s synchronized I was thinking I could just export my /root from my primary machine (which I use all the time) to my backup machine (which I almost never use).

slackware.2# cat /etc/exports
/root 192.168.0.3(rw,sync)

slackware.3# mount slackware.2:/root /root
slackware.3# cd ~
-bash: -cd: /root Permission denied


I hate it when I get UID 0 Permission denied messages.

Is there a built-in function of NFS that prevents mounting /root ?

I also noticed that connected to slackware.2:/tmp (which is rw,sync) as root I can copy files to and from but I can't delete (rm) files on the share remotely. What's up with that ?

I always thought NFS did UID matching to determine who was who, and obviously both root's have the same GID, it's exactly the same Slackware distribution.
 
Back
Top