Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Feb 2010 11:29:43 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Nerius Landys <nlandys@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: /root permission reset on boot
Message-ID:  <44ljfc2a2w.fsf@be-well.ilk.org>
In-Reply-To: <560f92641001312208r1af8a8a2j2be83fe231ad8d74@mail.gmail.com> (Nerius Landys's message of "Sun, 31 Jan 2010 22:08:50 -0800")
References:  <560f92641001312208r1af8a8a2j2be83fe231ad8d74@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Nerius Landys <nlandys@gmail.com> writes:

> I'm running FreeBSD 7.1 i386, and even after I "chmod 700 /root",
> after a reboot it goes back to permission 755.
> 1. What's the reason for this?  There must be a good reason and I
> would like to know it.  Everything in FreeBSD just makes sense and is
> well designed (honestly, no sarcasm here).

It's something local to your machine; this doesn't happen on any machine
I've used, and I can't find anything that could be configured for that.

> 2. Would I  want to change the permission of /root to 700 permanently, and how?

By default, there's nothing sensitive in that directory, so there's no
reason to protect it more thoroughly than the defaults.  If you put
something in that directory, you might want to change the permissions,
but that would be up to you and your own knowledge of your system.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/



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