Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2004 09:57:08 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Martin Vana <martin.vana@vslib.cz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /root default permisions
Message-ID:  <20040915085708.GB23645@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <003101c49aa2$f817b820$2a88ebd5@Vanovci>
References:  <003101c49aa2$f817b820$2a88ebd5@Vanovci>

next in thread | previous in thread | raw e-mail | index | archive | help

--rJwd6BRFiFCcLxzm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Sep 14, 2004 at 11:36:59PM +0200, Martin Vana wrote:

> I installed FBSD 5.3 Beta 3 - Default install, and as a regular user
> I can 'cat /root/.cshrc' or any other file in admin's directory?
> is it a bug?

No, that's not wrong.  The /root directory should be mode 755, which
means anyone can chdir to it, or list the contents.  In a freshly
installed system there isn't anything in that directory where
disclosure of file contents would be greatly deleterious to security.
The important thing is that no-one other than root can *write* to that
directory.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--rJwd6BRFiFCcLxzm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBSAPkiD657aJF7eIRAmxlAKCPKMqlGrEQCWHnx0MzRA48oOESxQCgkRZn
VsFfI3VsnKogzZ+O+/ijsJA=
=9/Yg
-----END PGP SIGNATURE-----

--rJwd6BRFiFCcLxzm--



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