LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-22-2003, 10:17 AM   #1
somesh
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




regards,
somesh
 
Old 07-22-2003, 02:39 PM   #2
quip
Member
 
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, 02:42 PM   #3
somesh
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
 
  


Reply


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


All times are GMT -5. The time now is 08:25 PM.

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