aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/installasroot.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-02-23 20:59:53 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-02-23 20:59:53 +0000
commitdb7ed0ae6d77d1be12a54325f1e89e1ea9136fe3 (patch)
treefcc2897f5c6670a840eabcf25022ad55d6e09b09 /chapter05/installasroot.xml
parentd04f249737a2bee5affe5b603d276d5301d9fc65 (diff)
Added note to install all software as user root
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@230 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/installasroot.xml')
-rw-r--r--chapter05/installasroot.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/chapter05/installasroot.xml b/chapter05/installasroot.xml
new file mode 100644
index 000000000..0f070588d
--- /dev/null
+++ b/chapter05/installasroot.xml
@@ -0,0 +1,23 @@
+<sect1 id="ch05-installasroot">
+<title>Install all software as user root</title>
+
+<para>
+It's best if you login as root or su to root when installing these
+files. That way you are assured that all files are owned by user root,
+group root (and not owned by the userid of your 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>
+If you read the documentation that comes with Glibc, Gcc and other
+packages they recommend not to compile the packages as user root. We
+feel it's safe to ignore that recommendation and compile as user root
+anyways. 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>
+