Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-05-2005, 10:16 PM   #1
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
NFS directory access problem

i'm testing NFS server configuration on my laptop. i'm going to list all i did just to give you an idea about the settings then i will mention the problem.

this is what is listed in /etc/exports :

this is what is listed in hosts.allow:

this is what is listed in hosts.deny:

portmap=ALL ( i didn't understand this very well , if you can explain this for me i will appriciate it )

after that i issues the command : exportfs -ra

then i did the following on the NFS server :

[root@FEDORA ~]# mount /nfs
[root@FEDORA ~]# cd /nfs
bash: cd: /nfs: Permission denied
[root@FEDORA ~]# umount /nfs
[root@FEDORA ~]# cd /nfs
[root@FEDORA nfs]#

as you see , it looks like that i'm having a security issue her. and you can notice that i can access /nfs localy when /wael is not monted to it.

Note that i'm using the NSF server as a client at the same time. i don't have another UNIX like machine for now so i have to test it on the same server.

i'm just got the information for this setup from :

i don't know what exactly i'm doing wronge ... so please help

Old 11-05-2005, 10:38 PM   #2
Registered: Apr 2004
Distribution: redhat 9.0, fc4, redhat as 4
Posts: 520

Rep: Reputation: 31
first check it

#ls -l /wael


then its permission problem
so use this command for permissions

#chmod 777 /wael

#mount -t nfs /mnt

#cd /mnt
#ls -l

take care
Old 11-05-2005, 11:25 PM   #3
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Original Poster
Rep: Reputation: 31
thanks... a lot

it worked .....


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS Access Problem sroyc Linux - Networking 5 01-25-2008 01:41 PM
NFS problem - no write access? aaronfg Linux - Newbie 3 12-22-2004 06:52 AM
nfs(nfs(directory)) = null ? bdp Linux - General 2 03-13-2004 04:31 PM
NFS Share access problem from Windows Help!!! Sabeer Linux - Networking 1 07-08-2003 09:59 AM
Can't access mounted NFS directory: "permission denied" SparceMatrix Linux - General 6 03-08-2003 02:36 PM

All times are GMT -5. The time now is 05:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration