mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
0646a5a8f2
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@544 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
24 lines
873 B
XML
24 lines
873 B
XML
<sect1 id="ch05-installasroot">
|
|
<title>Install all software as user root</title>
|
|
|
|
<para>
|
|
It's best to log in as root or su's to root when installing the
|
|
packages. That way you are assured that all files are owned by user and
|
|
group root (and not owned by the userid of the non-root user), and if a
|
|
package wants to set special permissions, it can do so without problems
|
|
due to non-root access.
|
|
</para>
|
|
|
|
<para>
|
|
The documentation that comes with Glibc, Gcc, and other
|
|
packages recommend not to compile the packages as user root. We
|
|
feel it's safe to ignore that recommendation and compile as user root
|
|
anyway. Hundreds of people using LFS have done so without any problems
|
|
whatsoever, and we haven't encountered any bugs in the compile processes
|
|
that cause harm. So it's pretty safe (never can be 100% safe though, so
|
|
it's up to you what you end up doing).
|
|
</para>
|
|
|
|
</sect1>
|
|
|