LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 06-07-2004, 04:37 PM   #1
sk2400
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
NFS problems with permission denied


I thought I would pass on my problems with NFS because it was not obvious to me from the manual and from the internet what the problem was.

My server which is running SUSE 9.1 has two physical disks mounted under /home as /home/backup and /home/source.

Logically I assumed that you could just export /home to other computers on the network. However, this did not work and resulted in either an empty directory for /home/backup and /home/source or if you tried mounting these directly a permission denied error.

I had to export /home, /home/source and /home/backup and mount all 3 for these to be accessable on the client machine.

Is this correct or am I just a newbie who cannot work Linux?
 
Old 06-30-2004, 04:48 PM   #2
davidbalt
Member
 
Registered: Feb 2004
Distribution: Gentoo -- always from stage1
Posts: 85

Rep: Reputation: 15
You need to add some lines to /etc/exports (or your distro's equivalent)

here's an example line:

/folder/to/export 192.168.1.0/255.255.255.0(rw)

To export a directory to all addresses (192.168.1.1-192.168.1.254) in read-write mode.

To mount the exported filesystem, you have to do a
mount -t nfs host:/folder/to/export /local/path

Hope this helps!
 
  


Reply



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
PLEASE help, NFS (permission denied) Nappa Slackware 15 01-13-2004 07:17 PM
NFS permission denied somesh Linux - Software 2 07-22-2003 02:42 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:52 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
Open Source Consulting | Domain Registration