Changeset 9b2dedc


Ignore:
Timestamp:
10/02/2022 11:11:57 AM (19 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
6582ddc5
Parents:
bde421e
Message:

package: add optional instruction to change the owner of downloaded packages to root

Many users will create a user with the same username and UID so the
files will still be owned by his/her. So make it optional by "If you
won't assign the same UID for your user in the LFS system".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter03/introduction.xml

    rbde421e r9b2dedc  
    105105  methods listed above.</para>
    106106
     107  <para>If the packages and patches are downloaded as a non-&root; user,
     108  these files will be owned by the user.  The file system records the
     109  owner by its UID, and the UID of a normal user in the host distro is
     110  not assigned in LFS.  So the files will be left owned by an unnamed UID
     111  in the final LFS system.  If you won't assign the same UID for your user
     112  in the LFS system, change the owners of these files to &root; now to
     113  avoid this issue:</para>
     114
     115<screen role="nodump"><userinput>chown root:root $LFS/sources/*</userinput></screen>
     116
    107117</sect1>
Note: See TracChangeset for help on using the changeset viewer.