You are not logged in.

#1 2008-04-22 22:58:06

synthead
Member
Registered: 2006-05-09
Posts: 1,337

[solved] cd to an NFS mount point: Permission denied as root??

I followed the wiki on nfs exactly, and I can connect and mount  a share.  However, when I cd into the directory ...

[root@pwn mnt]# mount killterm2:/home/max nfs
[root@pwn mnt]# cd nfs
bash: cd: nfs: Permission denied

what?? sad  How do I fix this?

Last edited by synthead (2008-05-04 08:24:40)

Offline

#2 2008-04-23 15:55:39

briest
Member
From: Katowice, PL
Registered: 2006-05-04
Posts: 468

Re: [solved] cd to an NFS mount point: Permission denied as root??

Wiki does not mention one important export option:

man exports wrote:

Very often, it is not desirable that the root user on a client  machine
is also treated as root when accessing files on the NFS server. To this
end, uid 0 is normally mapped to a different id: the  so-called  anony-
mous or nobody uid. This mode of operation (called `root squashing') is
the default, and can be turned off with no_root_squash.

Offline

#3 2008-04-23 18:15:14

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: [solved] cd to an NFS mount point: Permission denied as root??

Ahh that is PIMP!  IT WORKS! big_smile

Now ... how would I allow a regular user to read nfs mounts?

Offline

Board footer

Powered by FluxBB