Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-22-2003, 11:17 AM   #1
LQ Newbie
Registered: Jul 2003
Posts: 4

Rep: Reputation: 0
Question NFS permission denied

I am trying to tunnel nfs thru ssh. I go the ports and everything set up using these commands
ssh -f -c blowfish -L 10962:my-nfsserver:2049 -l myusername my-nfs-server
ssh -f -c blowfish -L 10972:my-nfsserver:2219 -l myusername my-nfs-server

where 2049 and 2219 are the ports where the nfs server and mountd are running

i made the change in the exports file
/mt myipaddr (rw,no_root_squash)

And when i run the mount command it gives me anerror that permission denied.

Regular NFS mounting that is without ssh tunneling works fine
can any body help

Old 07-22-2003, 03:39 PM   #2
Registered: Jun 2003
Distribution: Slackware
Posts: 100

Rep: Reputation: 15
These might be simple questions, but they are a place to start.
1. What does your hosts.allow and hosts.deny files look like? Have they been changed as well?
2. Did you restart nfs on the server? Did you tell it to reread the exports file?
Old 07-22-2003, 03:42 PM   #3
LQ Newbie
Registered: Jul 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Yes I have changed the hosts.allow and host.deny also i have restarted the iptables, portmap and nfs several times


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 'permission denied' friendly_guy Slackware 7 01-02-2005 08:24 PM
nfs server permission denied lackluster Linux - Networking 3 08-21-2004 11:47 AM
PLEASE help, NFS (permission denied) Nappa Slackware 15 01-13-2004 08:17 PM
NFS - Permission Denied... 15788 Linux - Networking 9 04-06-2003 10:43 AM
Permission Denied NFS graystarr Linux - Networking 9 07-08-2002 06:06 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:45 AM.

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
Open Source Consulting | Domain Registration