Operating System - HP-UX
1824994 Members
2164 Online
109678 Solutions
New Discussion юеВ

Re: Can I set nfs directory to write?

 
nataris
Advisor

Can I set nfs directory to write?



Can I set nfs directory to write? How I can do?
Should it be configured at nfs client and nfs server side?
3 REPLIES 3
Jeeshan
Honored Contributor

Re: Can I set nfs directory to write?

>>Can I set nfs directory to write?
Yes

>>How I can do?
edit /etc/exports file
-rw

>>Should it be configured at nfs client and nfs server side?
It must be configured in nfs server.
a warrior never quits
Mridul Shrivastava
Honored Contributor

Re: Can I set nfs directory to write?

man pages clearly says it is possible:

Once a client mounts the file system, the server issues a file handle to the client for each file (or directory) the client accesses.

As mentioned by Ahsaan it is to be done at the server end and you can specify the node name as well for which u want to give write access.
Time has a wonderful way of weeding out the trivial
Dennis Handly
Acclaimed Contributor

Re: Can I set nfs directory to write?

>Can I set NFS directory to write?

This is confusing terminology. You seem to be confusing directories with file systems.

You either export or mount NFS file systems as read/write or read/only.

You need to do this on the server side. But you can also mount a file system as read only.

Directories just have the normal permissions. Of course if the file system is read/only, you don't really have write access to any file/directory.