| Newsgroups |
gmane.linux.lfs.book |
| Message-ID |
<[email protected]> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch trunk
in repository lfs.
commit 6c311ec76ff60f275a336354a6661193390753c2
Author: Xi Ruoyao <[email protected]>
AuthorDate: Tue May 27 11:41:13 2025 +0800
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.
---
chapter07/changingowner.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chapter07/changingowner.xml b/chapter07/changingowner.xml
index 178c7836e..f29932694 100644
--- a/chapter07/changingowner.xml
+++ b/chapter07/changingowner.xml
@@ -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>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page