mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
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".
This commit is contained in:
parent
bde421e48d
commit
9b2dedc676
@ -104,4 +104,14 @@ popd</userinput></screen>
|
||||
<para>This check can be used after retrieving the needed files with any of the
|
||||
methods listed above.</para>
|
||||
|
||||
<para>If the packages and patches are downloaded as a non-&root; user,
|
||||
these files will be owned by the user. The file system records the
|
||||
owner by its UID, and the UID of a normal user in the host distro is
|
||||
not assigned in LFS. So the files will be left owned by an unnamed UID
|
||||
in the final LFS system. If you won't assign the same UID for your user
|
||||
in the LFS system, change the owners of these files to &root; now to
|
||||
avoid this issue:</para>
|
||||
|
||||
<screen role="nodump"><userinput>chown root:root $LFS/sources/*</userinput></screen>
|
||||
|
||||
</sect1>
|
||||
|
Loading…
Reference in New Issue
Block a user