FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 08-01-2011, 08:23 AM
Jatin K
 
Default NFS shared directory permission (rhel6)

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 ?????


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

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

Mon Aug 1 11:30:02 2011
Return-path: <gentoo-dev+bounces-46814-tom=linux-archive.org@lists.gentoo.org>
Envelope-to: tom@linux-archive.org
Delivery-date: Mon, 01 Aug 2011 11:20:58 +0300
Received: from pigeon.gentoo.org ([208.92.234.80]:44367 helo=lists.gentoo.org)
by s2.java-tips.org with esmtps (TLSv1:AES256-SHA:256)
(Exim 4.69)
(envelope-from <gentoo-dev+bounces-46814-tom=linux-archive.org@lists.gentoo.org>)
id 1QnnkA-0002Xd-6f
for tom@linux-archive.org; Mon, 01 Aug 2011 11:20:58 +0300
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
by pigeon.gentoo.org (Postfix) with SMTP id BAE9321C38F;
Mon, 1 Aug 2011 08:23:54 +0000 (UTC)
X-Original-To: gentoo-dev@lists.gentoo.org
Delivered-To: gentoo-dev@lists.gentoo.org
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
by pigeon.gentoo.org (Postfix) with ESMTP id AA8A721C231
for <gentoo-dev@lists.gentoo.org>; Mon, 1 Aug 2011 08:21:58 +0000 (UTC)
Received: from [192.168.178.58] (e178066085.adsl.alicedsl.de [85.178.66.85])
(using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
(No client certificate requested)
(Authenticated sender: chithanh)
by smtp.gentoo.org (Postfix) with ESMTPSA id C0C6E1BC01F
for <gentoo-dev@lists.gentoo.org>; Mon, 1 Aug 2011 08:21:57 +0000 (UTC)
Message-ID: <4E36622A.9000200@gentoo.org>
Date: Mon, 01 Aug 2011 10:22:02 +0200
From: =?UTF-8?B?Q2jDrS1UaGFuaCBDaHJpc3RvcGhlciBOZ3V54buFbg==? <chithanh@gentoo.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110711 Firefox/5.0 SeaMonkey/2.2
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Warn users not to do separate /usr partition without
proper initramfs in the handbook?
References: <4E33B25F.3050606@gentoo.org> <20110730114600.0f787296@googlemail.com> <4E340D4B.8040403@gentoo.org> <20110731162349.7ed87c0d@pomiocik.lan> <4E36545B.2040101@gentoo.org> <4E36597E.5050802@gentoo.org> <4E365C8A.4000409@gentoo.org>
In-Reply-To: <4E365C8A.4000409@gentoo.org>
X-Enigmail-Version: 1.2a2pre
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Samuli Suominen schrieb:
> should think this inverse; make separate partitions for the data
> directories such as /home or /var
> have /usr on /
> so when / goes down, you still keep your data

Putting /home and /var on separate partitions can increase isolation
even further, that is true.

On desktop systems, directories outside /usr and /home contribute not
much to the total disk space used. So if you have one / and one /usr
partition, the total amount of data that would be exposed to corruption
is not much different from having all of /, /home, /usr and /var
separate.
On servers, it might make sense to keep /var separate depending on which
services write there.


Best regards,
Ch*-Thanh Christopher Nguy?n
 
Old 08-01-2011, 08:30 AM
Frantisek Hanzlik
 
Default NFS shared directory permission (rhel6)

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
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-01-2011, 08:30 AM
Frantisek Hanzlik
 
Default NFS shared directory permission (rhel6)

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
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-01-2011, 08:48 AM
Steve Searle
 
Default NFS shared directory permission (rhel6)

Around 09:23am on Monday, August 01, 2011 (UK time), Jatin K scrawled:

> what should be the permission of NFS shared directory on RHEL6 ???
>
> I've shared a directory on rhel 6 ...following are the configuration done

You might need to change the firewall configuration on the NFS server.
There is more information here:
http://www.stevesearle.co.uk/tech/faq.html#nfs0010

Steve

--

Website: www.stevesearle.com
Twitter: @ReddishShift
Facebook: www.facebook.com/steve.searle

09:45:59 up 1:05, 1 user, load average: 0.02, 0.04, 0.00
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 10:27 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org