2001-02-23 20:59:53 +00:00
|
|
|
<sect1 id="ch05-installasroot">
|
|
|
|
<title>Install all software as user root</title>
|
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>It's best to log in as root or su's to root when installing the
|
2001-04-14 02:29:56 +01:00
|
|
|
packages. That way you are assured that all files are owned by user and
|
2001-03-25 09:46:07 +01:00
|
|
|
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
|
2001-07-22 20:45:10 +01:00
|
|
|
due to non-root access.</para>
|
2001-02-23 20:59:53 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>The documentation that comes with Glibc, Gcc, and other
|
2001-03-18 19:30:50 +00:00
|
|
|
packages recommend not to compile the packages as user root. We
|
2001-02-23 20:59:53 +00:00
|
|
|
feel it's safe to ignore that recommendation and compile as user root
|
2001-03-25 09:46:07 +01:00
|
|
|
anyway. Hundreds of people using LFS have done so without any problems
|
|
|
|
whatsoever, and we haven't encountered any bugs in the compile processes
|
2001-02-23 20:59:53 +00:00
|
|
|
that cause harm. So it's pretty safe (never can be 100% safe though, so
|
2001-07-22 20:45:10 +01:00
|
|
|
it's up to you what you end up doing).</para>
|
2001-02-23 20:59:53 +00:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|