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