Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-08-2007, 12:14 PM   #1
Registered: Oct 2004
Location: India
Distribution: RH9,Fedora
Posts: 75

Rep: Reputation: 15
Permissions on NFS Share


Is it possible to provide read only access to users on an NFS share and read/write access to root on the same share?

I mean if root mounts the NFS share then it should get the read/write access and users should get read only?

Old 03-08-2007, 12:37 PM   #2
Registered: Mar 2007
Distribution: RHEL, Fedora, Open Suse
Posts: 151

Rep: Reputation: 31
I think you are looking for share option "no_root_squash" . By default root user is treated a NFSNOBODY but if you add the no_root_squash parameter in share it will allow root as real root i.e R/W access.

I hope this helps.

/share *(ro,sync,no_root_squash)
Old 03-09-2007, 05:03 AM   #3
Registered: Oct 2004
Location: India
Distribution: RH9,Fedora
Posts: 75

Original Poster
Rep: Reputation: 15
Hi mether,

I was also thinking the same, no_root_squash should give me the root permissions on the share and hence i should get the read/write access, but it dosent. If a share has been mounted as

/share *(ro,sync,no_root_squash)

root still dosent get the read/write permissions..



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
NFS share permissions problem imjustabill Linux - Server 1 03-04-2007 01:01 AM
how to setup nfs share werre300 Linux - Newbie 1 01-25-2007 03:21 PM
NFS share not working ahmedb72 Red Hat 3 02-22-2006 02:38 AM
NFS share problem ElVirolo Linux - Networking 2 02-20-2006 05:16 PM
Find A Nfs Share? quadamage76 Linux - Networking 3 04-21-2004 09:22 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration