NFS -- root can't delete files on mounted patition.

Robert Jameson rj at dawnshosting.com
Wed May 11 18:15:17 UTC 2005


I have 2 ubuntu machines 

on sc02 I can mount /home just fine and see all directorys etc. 
But here is the problem I can't delete any files or modify files as the
root user on the mounted /home - I can only make changes in directorys
of users when i su to that user example:

root at sc02:/home/taylor # ls
cd  taylor.usedrugs.net
root at sc02:/home/taylor # rm -rf cd/
rm: cannot remove directory `cd/': Permission denied
root at sc02:/home/taylor # su taylor
taylor at sc02:~$ rm -rf cd/
taylor at sc02:~$ 
taylor at sc02:~$ ls
taylor.usedrugs.net
taylor at sc02:~$ 

I will paste my configurations

on sc01 (nfs server)

/etc/exports:
/home 192.168.2.201(rw,sync)

output of exportfs:

root at sc01:/home # exportfs
/home           sc02
root at sc01:/home # 

on sc02 (nfs client)

/etc/fstab:

192.168.2.200:/home /home nfs rw,hard,intr 0 0


root at sc02:/home/taylor # id
uid=0(root) gid=0(root) groups=0(root)
root at sc02:/home/taylor # 

root at sc01:~ # id
uid=0(root) gid=0(root) groups=0(root)
root at sc01:~ # 


passwd and group files are being handled by nis
-- 
Robert Jameson <rj at dawnshosting.com>






More information about the ubuntu-users mailing list