From owner-freebsd-questions Sun Nov 11 18:44:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id C4D1B37B416 for ; Sun, 11 Nov 2001 18:44:12 -0800 (PST) Received: from hades.hell.gr (patr530-a075.otenet.gr [212.205.215.75]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id fAC2i4B02691; Mon, 12 Nov 2001 04:44:04 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id fAC2i0l21467; Mon, 12 Nov 2001 04:44:00 +0200 (EET) (envelope-from charon@labs.gr) Date: Mon, 12 Nov 2001 04:43:58 +0200 From: Giorgos Keramidas To: Edwin Groothuis Cc: Walter Hop , FreeBSD Questions Subject: Re: does /etc HAVE to be world readable? Message-ID: <20011112024357.GA474@hades.hell.gr> References: <158198076589.20011111224859@binity.com> <20011112090506.M35710@k7.mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011112090506.M35710@k7.mavetju.org> User-Agent: Mutt/1.3.23.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Edwin Groothuis wrote: > On Sun, Nov 11, 2001 at 10:48:59PM +0100, Walter Hop wrote: > > QuickQuestion(tm): does /etc HAVE to be world readable? > > The directory itself, yes. > The files in it don't need to be. Well, it's not like things will work all the same though. Programs do depend on being able to read files in /etc. For instance, if /etc/group is not readable, ls(1) won't be able to print the group of the owner when listing files; and that's only an example of `breakage' that pops up my mind quickly. -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message