diff options
Diffstat (limited to 'chapter04/addinguser.xml')
-rw-r--r-- | chapter04/addinguser.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chapter04/addinguser.xml b/chapter04/addinguser.xml index 7ee10bef0..6a163f46b 100644 --- a/chapter04/addinguser.xml +++ b/chapter04/addinguser.xml @@ -80,7 +80,10 @@ useradd -s /bin/bash -g lfs -m -k /dev/null lfs</userinput></screen> all directories under <filename class="directory">$LFS</filename> by making <systemitem class="username">lfs</systemitem> the directory owner:</para> -<screen><userinput>chown -v lfs $LFS/{usr,lib,var,etc,bin,sbin,lib64,tools}</userinput></screen> +<screen><userinput>chown -v lfs $LFS/{usr,lib,var,etc,bin,sbin,tools} +case $(uname -m) in + x86_64) chown -v lfs $LFS/lib64 ;; +esac</userinput></screen> <para>If a separate working directory was created as suggested, give user <systemitem class="username">lfs</systemitem> ownership of this |