Re: NFS shared directory permission (rhel6)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 01 August 2011 02:00 PM, Frantisek Hanzlik wrote:
> Jatin K wrote:
>> Dear all
>>
>> what should be the permission of NFS shared directory on RHEL6 ???
>>
>> I've shared a directory on rhel 6  ...following are the configuration done
>>
>> created a directory /office
>>
>> --/etc/exports----
>> /office *.officebox.local(rw,sync)
>>
>>
>>
>> ---ls -ld /office
>>
>> drwxr-xr-x. 3 root root 4096 Aug  1 13:44 /office
>>
>>
>> problem :-  all the clients in officebox.local can mount the nfs shared
>> directory on localsystem  but it always mounted as read-only  ...even
>> though /etc/exports configured with read and write
>>
>> I'm able to solve this problem by changing permission and set it to 777
>> ..... but this is not desirable
>>
>> is it compulsory to set permission to 777  ... what is the batter
>> solution ?????
> Probably better is set permission to (2)770 (or (2)771) and change
> directory group to group of accessing users.
> You can consider to use ACL too.
>
> Franta Hanzlik
>

if I change the ownership of the directory to nfsnobody  ...... is it 
harmful


chwon nfsnobody:nfsnobody /office

it gives me the rwx permission of the client side


changing ownership to nfsnobody is ok as per the security concern ???

-- 
   °v°
  /(_)\
   ^ ^  Jatin Khatri
Registerd Linux user No #501175
www.counter.li.org
No M$

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux