LinuxQuestions.org
Visit Jeremy's Blog.
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 03-08-2007, 01:14 PM   #1
IwantLINUX
Member
 
Registered: Oct 2004
Location: India
Distribution: RH9,Fedora
Posts: 75

Rep: Reputation: 15
Permissions on NFS Share


Hi,

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?

Regards,
 
Old 03-08-2007, 01:37 PM   #2
mether
Member
 
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, 06:03 AM   #3
IwantLINUX
Member
 
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..

Regards,
 
  


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


All times are GMT -5. The time now is 10:17 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration