LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to have write-access to NFS (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-have-write-access-to-nfs-601997/)

packets 11-23-2007 07:26 PM

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?

Jayla 11-23-2007 07:42 PM

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

packets 11-23-2007 07:46 PM

I'm using Centos 4.

Did you do the same procedure?

Jayla 11-23-2007 07:51 PM

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

hophilip 11-23-2007 11:18 PM

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.

billymayday 11-23-2007 11:22 PM

Sorry - is this about NFS or NTFS? The OP seems to be anting to use NFS and Jayla is talking about NTFS

hophilip 11-23-2007 11:24 PM

Quote:

Originally Posted by billymayday (Post 2969012)
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.

btmiller 11-23-2007 11:53 PM

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.

billymayday 11-24-2007 12:13 AM

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

jschiwal 11-24-2007 12:23 AM

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?


All times are GMT -5. The time now is 09:22 AM.