LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-17-2003, 01:46 AM   #1
Bahador
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
Angry NFS mounting : Permission denied


Hi all

I can not mount exported directory from a server!

Details:

On Server:
its IP : 81.31.164.3
its Domain : ce.sharif.ac.ir
nfsd is running
/home is added to /etc/exports with read/write permission


On Client :
$hostname
lc1.ce.sharif.ac.ir
$domainname
ce.sharif.ac.ir
$showmount -e 81.31.164.3
/home lc*.ce.sharif.ac.ir

I add this line to fstab
81.31.164.3:/home /home nfs defaults 0 0

$mount -a
mount: 81.31.164.3:/home failed, reason given by server: Permission denied

Please help me :-(
thanks in advance
 
Old 07-17-2003, 11:34 PM   #2
leonardox
LQ Newbie
 
Registered: Jul 2003
Location: Guadalajara
Distribution: Slackware
Posts: 23

Rep: Reputation: 15
I have in my export this :

home IP/MASK(rw,no_root_squash) IP/MASK(rw,no_root_squash
 
Old 07-18-2003, 04:19 AM   #3
DIYLinux
Member
 
Registered: Jul 2003
Location: NL
Distribution: My own
Posts: 92

Rep: Reputation: 17
The important part is no_root_squash. This disables 'root squashing', a security feature that changes read/write requests from the root to requests from a guest account. You might be alright if you use a normal non-root account without no_root_squash. But then, you shouldn't be root unless absolutely neccessary.
 
Old 07-18-2003, 04:33 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 47
Hope you don't have iptables filtering out NFS traffic at your client.
 
  


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
Mounting an nfs share - Permission Denied doctorwebbox Linux - Networking 5 05-30-2005 01:45 AM
nfs 'permission denied' friendly_guy Slackware 7 01-02-2005 07:24 PM
NFS :: Permission denied after mounting, root works.. Devils_Guardian Linux - Networking 1 11-17-2004 10:40 AM
NFS Problem mounting 2 systems:Permission Denied by server meng_en Linux - General 3 09-23-2002 11:24 PM
permission denied when mounting nfs directory keirobyn Linux - Networking 3 01-29-2002 12:43 AM


All times are GMT -5. The time now is 09:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration