Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

NFS mount volume

Joseph Chakkery
Valued Contributor

NFS mount volume

Hi Folks,

I have little query about an NFS mount volume.

When we export a directory can we give permision of rw-rw-rw- to the remote user?

When I give rw while exporting, the remote user file are having permision rw-r--r--. This nfs file system is mounted on a Linux box. They write some files into this HP NFS file syste.

Can anybody help me out on this.

Thanks in advance.

Regards
Joe.
Knowledge is wealth
3 REPLIES
Herve BRANGIER
Respected Contributor

Re: NFS mount volume


Hi

If you use "rw" option in /etc/exports like :

/volume_name rw=host1

You give host1 read/write access on the share
filesystem. This means that host1 can write and
read on the filesystem. But it doesn't mean you
can modify file's rights. rw option is for
filesystem access (for example, export a
filesystem readonly and you can't write anything
on it).

HTH

Herv?

Joseph Chakkery
Valued Contributor

Re: NFS mount volume

Hi Herve,

The Linux user (Client NFS server) creates some file on this NFS volume. its permission is rw-r--r--. Whether he can create file with permission rw-rw-rw-. IS it mount specific on Linux box.

Regards
Joe.
Knowledge is wealth
Victor_5
Trusted Contributor

Re: NFS mount volume

Regarding permission, you can do it either on server or on client, however, every permission is controlled by NFS server, you only can change mount option from client side.

On server side:
/etc/exports

/dir_name -access=host_name

Run exportsfs -a following every modification of /etc/exports

On client side:
/etc/fstab

the default option is rw, you can change it according to your need, then run mount -aQF nfs or let the system re-read the file automatically when the system boot at the next time.