mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 11:19:19 +01:00
changingowner: Exclude symlinks from chown
Make this consistent with addinguser. Applying chown to a symlink actually affects its target, and here the targets are in $LFS/usr and already covered.
This commit is contained in:
parent
3975ea8c7e
commit
6c311ec76f
@ -33,7 +33,7 @@
|
||||
user <systemitem class="username">root</systemitem> by running the following
|
||||
command:</para>
|
||||
|
||||
<screen><userinput>chown --from &lfs-username; -R root:root $LFS/{usr,lib,var,etc,bin,sbin,tools}
|
||||
<screen><userinput>chown --from &lfs-username; -R root:root $LFS/{usr,var,etc,tools}
|
||||
case $(uname -m) in
|
||||
x86_64) chown --from &lfs-username; -R root:root $LFS/lib64 ;;
|
||||
esac</userinput></screen>
|
||||
|
Loading…
Reference in New Issue
Block a user