/root default permisions

Giorgos Keramidas keramida at ceid.upatras.gr
Wed Sep 15 06:14:41 PDT 2004

On 2004-09-15 11:24, Dick Davies <rasputnik at hellooperator.net> wrote:
>* Matthew Seaman <m.seaman at infracaninophile.co.uk>:
>>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.
> s/should/is/
> Is there any reason why it should be like this?

It's your responsibility as the owner of the account to ensure that no
sensitive information should be stored in /root in world-readable files.
Regardless of the permissions of /root as a directory you can chmod any
subdirectory or file to whatever you feel suits your needs.

Why then would it be a problem that /root has 0755 permissions?

- Giorgos

More information about the freebsd-questions mailing list