aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/installasroot.xml
blob: 4e787875fc8e0791a27a601ac28c5e1ac5c48eb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<sect1 id="ch05-installasroot">
<title>Install all software as user root</title>

<para>
It's best if the user logs in as root or su's to root when installing these
files. That way he is 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 the user what he ends up doing).
</para>

</sect1>