LinuxQuestions.org
Review your favorite Linux distribution.
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-23-2007, 07:26 PM   #1
packets
Member
 
Registered: Oct 2005
Posts: 280

Rep: Reputation: 30
how to have write-access to NFS


I'm already installed, run nfs on the server and mount at client side. The problem when the client tried to create a file to the shared partition, it says "Permission denied".

The /etc/exports of my server is :

/backup 10.4.0.6(rw,sync)

I login to 10.4.0.6 and mount :

mount 10.4.0.1:/backup /mnt

I change directory to /mnt and tried to create a file by using touch but it says "Permission denied".

I beliebe there's no problem since all commands are done by root both in server and in client.

Anyone has an input?
 
Old 11-23-2007, 07:42 PM   #2
Jayla
Member
 
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188

Rep: Reputation: 30
Hi

Not sure what distro your using, but for me (Ubuntu) I was able to load up the package manager (synaptic) and install features to read/write ntfs partitions

use the package manager to search for "NTFS" and see what you find, i think mine was called NTFS-3G but not entirely sure

Once you got these, you should be able to read/write, if not, try sudo'ing it to be sure

Hope this helps
 
Old 11-23-2007, 07:46 PM   #3
packets
Member
 
Registered: Oct 2005
Posts: 280

Original Poster
Rep: Reputation: 30
I'm using Centos 4.

Did you do the same procedure?
 
Old 11-23-2007, 07:51 PM   #4
Jayla
Member
 
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188

Rep: Reputation: 30
Yes I wanted to move some MP3 files from my Vista partition to my /home but wasnt permitted due to not having read/write drivers (someone correct me if I've worded that wrong!)

everything works OK in regards to moving/copying/deleting files from win32 partitions
 
Old 11-23-2007, 11:18 PM   #5
hophilip
LQ Newbie
 
Registered: Nov 2007
Posts: 13

Rep: Reputation: 0
Hello,

How about the /etc/fstab file on your client side? Maybe you got to specify rw as one of the options.

For UNIX, the default option when you mount from the client is read only.
 
Old 11-23-2007, 11:22 PM   #6
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Sorry - is this about NFS or NTFS? The OP seems to be anting to use NFS and Jayla is talking about NTFS
 
Old 11-23-2007, 11:24 PM   #7
hophilip
LQ Newbie
 
Registered: Nov 2007
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by billymayday View Post
Sorry - is this about NFS or NTFS? The OP seems to be anting to use NFS and Jayla is talking about NTFS
It is NFS, the thread starter is talking about /etc/exports

Also, please make sure that the folder that is being exported has the right permissions set.
 
Old 11-23-2007, 11:53 PM   #8
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,078

Rep: Reputation: 297Reputation: 297Reputation: 297
Also, are user IDs synchronized across the machines? If, for instance, user bob on machine1 has UID 1000 and bob on machine2 has UID 2000 then if bob's home directory from machine1 is mounted on machine2 the bob user on that machine won't generally have permission to write into it. You can use the "id" command to see the user IDs.
 
Old 11-24-2007, 12:13 AM   #9
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
hophilip, the question was rhetorical - I was trying to get the thread back on track since neither the OP or poster seemed to have noticed that they were talking about totally different concepts

Last edited by billymayday; 11-24-2007 at 12:15 AM.
 
Old 11-24-2007, 12:23 AM   #10
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Could you list the permissions of the /mnt directory on the client and /backup on the server.

Does your system use NFSv4? Is there an idmapd daemon running?
 
  


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
grip : no write access to write encoded file bidouilleur Linux - Software 5 10-09-2010 09:23 PM
NFS write access denied on one of two filesystems TomF Linux - Security 2 02-23-2005 08:48 PM
NFS problem - no write access? aaronfg Linux - Newbie 3 12-22-2004 05:52 AM
NFS non root read write access matthewkeen Linux - Networking 8 09-09-2004 10:52 PM
NFS: how can I get write-access?? pablovschby Linux - Networking 3 12-24-2003 08:39 AM


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