2002-01-23 18:24:44 +00:00
|
|
|
<sect1 id="ch06-changingowner">
|
2002-06-03 12:27:19 +01:00
|
|
|
<title>Changing ownership</title>
|
2002-01-23 18:24:44 +00:00
|
|
|
<?dbhtml filename="changingowner.html" dir="chapter06"?>
|
|
|
|
|
2002-06-03 12:27:19 +01:00
|
|
|
<para>Now we're in chroot, it is time to change the ownership of
|
|
|
|
the files and directories that were installed in chapter 5 to root.
|
|
|
|
Run the following command to do so:</para>
|
2002-01-23 18:24:44 +00:00
|
|
|
|
2002-05-25 01:19:47 +01:00
|
|
|
<para><screen><userinput>chown -R 0:0 /</userinput></screen></para>
|
2002-01-23 18:24:44 +00:00
|
|
|
|
2002-06-03 12:27:19 +01:00
|
|
|
<para>This command changes the ownership of the root partition to
|
|
|
|
root. The command uses 0:0 instead of root:root, because the user name
|
|
|
|
"root" can't be resolved, as glibc is not installed yet.</para>
|
2002-01-23 18:24:44 +00:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|