mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
44c2fd8fab
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2082 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
22 lines
850 B
XML
22 lines
850 B
XML
<sect1 id="ch06-changingowner">
|
|
<title>Changing ownership</title>
|
|
<?dbhtml filename="changingowner.html" dir="chapter06"?>
|
|
|
|
<para>The first thing we'll do, now that we're <emphasis>root</emphasis>,
|
|
is change the ownership of the files and directories installed in chapter 5
|
|
to root -- because when later we don't delete the
|
|
<filename class="directory">/static</filename> directory and start adding
|
|
new users, one of these users might end up owning the statically linked
|
|
programs, which is not a good idea.</para>
|
|
|
|
<para>Run the following command to make root the owner of all the statically
|
|
linked programs:</para>
|
|
|
|
<para><screen><userinput>chown -R 0:0 /static</userinput></screen></para>
|
|
|
|
<para>The command uses "0:0" instead of "root:root", because there is no way
|
|
to resolve the name "root", as glibc hasn't been installed yet.</para>
|
|
|
|
</sect1>
|
|
|