LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-02-2009, 10:19 PM   #1
rcmonroig
Member
 
Registered: Mar 2007
Location: Chandler, AZ
Distribution: Fedora 10,12,and 14
Posts: 62
Blog Entries: 1

Rep: Reputation: 15
Unhappy Mounted NFS directory can't mkdir


Fedora 10 system. Mounted cislab:/public/cm449 ./fileserver

Mounted fine on client workstation. Can ls the directory no problem. But can't create a directory to save backup files from my client workstation. I get a permission denied message. What am I missing? Your help would be greatly appreciated.

Thanks,
rc

Last edited by rcmonroig; 11-02-2009 at 10:20 PM.
 
Old 11-02-2009, 11:32 PM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
With what options is the directory exported from the server? Have you checked if you have given right permissions for the remote systems to create files there?
 
Old 11-03-2009, 03:07 AM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Look in the file /etc/exports. See if you have a proper netmask. It should look something like this:

/home/sam/stuff 192.168.0.1/255.255.255.0(root_squash,ro,sync,no_subtree_check,nohide)

The above line will allow export of /home/sam/stuff to all ip addresses in the 192.168.0.1-255 range. Also, try mounting the NFS drive like this:

sudo mount 192.168.0.23:/home/sam/stuff /mnt/stuff -t nfs
 
Old 11-03-2009, 06:54 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,364

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
You'll need to change the ro option to rw to be able to mkdir.
 
Old 11-04-2009, 11:36 AM   #5
rcmonroig
Member
 
Registered: Mar 2007
Location: Chandler, AZ
Distribution: Fedora 10,12,and 14
Posts: 62

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Smile options in /etc/exports

/public/cis126/cm449 192.168.1.0/24(rw,sync,no_root_squash)
 
Old 11-04-2009, 10:57 PM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
I think the permissions in the exports are not the only that count and the permissions on the directory also count. You need to allow write permissions on the directory as well.
 
  


Reply

Tags
mount, nfs, permissions



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
core dump file won't write to nfs-mounted directory rainzone Linux - Networking 5 08-25-2009 04:30 PM
file size limit exeeded for NFS mounted directory rizwan.cheema Red Hat 2 11-28-2006 04:52 AM
program run from nfs-mounted directory behaves badly jabel5 Other *NIX 3 10-05-2005 08:40 AM
NFS export of directory with mounted iso-images leipy SUSE / openSUSE 1 06-03-2005 08:12 PM
Mounted NFS directory (Read-Only) dunmarie Linux - General 3 08-04-2004 03:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:38 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