Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2001 10:30:08 +0400
From:      "Andrey Simonenko" <simon@comsys.ntu-kpi.kiev.ua>
To:        <freebsd-hackers@freebsd.org>
Subject:   Permissions on /root directory and /etc/mtree/BSD.root.dist
Message-ID:  <004f01c1369d$5fc07ba0$6d36120a@comsys.ntukpi.kiev.ua>

next in thread | raw e-mail | index | archive | help
Hi All,

I have one idea about permissions on /root directory and
permissions on /root directory specified in the /etc/mtree/BSD.root.dist
file.

After finishing FreeBSD installating process permissions
on /root directory are equal to 0755. Some administrators don't
like these permissions for home dir of root and changed them
to 0700, or to 0750, or to any other permissions.

0700 mode restricts other users from reading /root directory.
When root wants to upgrade system he/she run "make buildworld",
"make installworld". But installworld calls mtree, which changes
/root permissions to default value specified in the /etc/mtree/BSD.root.dist
file. So, if administrator will not forgot about needed permissions
on /root, then installworld will open /root directory for reading
for everybody.

I propose not to change permissions on /root directory in
the /etc/mtree/BSD.root.dist file and leave them unchanged.

Comments?



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004f01c1369d$5fc07ba0$6d36120a>