installasroot.xml 873 B

1234567891011121314151617181920212223
  1. <sect1 id="ch05-installasroot">
  2. <title>Install all software as user root</title>
  3. <para>
  4. It's best to log in as root or su's to root when installing the
  5. packages. That way you are assured that all files are owned by user and
  6. group root (and not owned by the userid of the non-root user), and if a
  7. package wants to set special permissions, it can do so without problems
  8. due to non-root access.
  9. </para>
  10. <para>
  11. The documentation that comes with Glibc, Gcc, and other
  12. packages recommend not to compile the packages as user root. We
  13. feel it's safe to ignore that recommendation and compile as user root
  14. anyway. Hundreds of people using LFS have done so without any problems
  15. whatsoever, and we haven't encountered any bugs in the compile processes
  16. that cause harm. So it's pretty safe (never can be 100% safe though, so
  17. it's up to you what you end up doing).
  18. </para>
  19. </sect1>