/root permission reset on boot
Lowell Gilbert
freebsd-questions-local at be-well.ilk.org
Mon Feb 1 18:58:15 UTC 2010
Nerius Landys <nlandys at 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.
>
> Perhaps I was mistaken about this happening after every reboot.
> Perhaps it only happens when I upgrade my world (make buildworld, make
> installworld, etc.). I do this often (every time a release patch is
> released).
>
> So, perhaps this only happens during these upgrades?
Yes, that makes more sense. Just change the setting in /etc/mtree/BSD.root.dist.
--
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
More information about the freebsd-questions
mailing list