/root default permisions
Matthew Seaman
m.seaman at infracaninophile.co.uk
Wed Sep 15 01:57:14 PDT 2004
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
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040915/80a2ca21/attachment.bin
More information about the freebsd-questions
mailing list