Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2001 04:43:58 +0200
From:      Giorgos Keramidas <charon@labs.gr>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        Walter Hop <walter@binity.com>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: does /etc HAVE to be world readable?
Message-ID:  <20011112024357.GA474@hades.hell.gr>
In-Reply-To: <20011112090506.M35710@k7.mavetju.org>
References:  <158198076589.20011111224859@binity.com> <20011112090506.M35710@k7.mavetju.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Edwin Groothuis <edwin@mavetju.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011112024357.GA474>