mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
change chown X.X's to chown X:X's
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1888 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
68d2fcf1e6
commit
14ac599867
@ -27,6 +27,10 @@
|
||||
|
||||
</para></listitem>
|
||||
|
||||
<listitem><para>May 17th, 2002 [markh]: Changed all chown X.X's to chown
|
||||
X:X's which is less likely to run into problems (according to info
|
||||
chown).</para></listitem>
|
||||
|
||||
<listitem><para>May 16th, 2002 [gerard]: Chapter 01 - Mirror sites: Added
|
||||
http interface to FTP mirror at idge.net</para></listitem>
|
||||
|
||||
|
@ -13,10 +13,10 @@ to mount filesystems and to run chroot.</para>
|
||||
|
||||
<para>The proc file system is mounted under $LFS/proc by running the
|
||||
following command. We'll also chown it to user root/group root while we're
|
||||
at it (the rest of the filesystem is chown'ed to root.root in a minute when
|
||||
at it (the rest of the filesystem is chown'ed to root:root in a minute when
|
||||
we start with chapter 6).</para>
|
||||
|
||||
<para><screen><userinput>chown root.root $LFS/proc &&
|
||||
<para><screen><userinput>chown root:root $LFS/proc &&
|
||||
mount proc $LFS/proc -t proc</userinput></screen></para>
|
||||
|
||||
</sect1>
|
||||
|
@ -12,7 +12,7 @@ skip chapter 7 when you arrive at it and move on to chapter 8.</para>
|
||||
<para>Install LFS-Bootscripts by running the following command:</para>
|
||||
|
||||
<para><screen><userinput>cp -a rc.d sysconfig /etc &&
|
||||
chown -R root.root /etc/rc.d /etc/sysconfig</userinput></screen></para>
|
||||
chown -R root:root /etc/rc.d /etc/sysconfig</userinput></screen></para>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -6,18 +6,18 @@
|
||||
all files and directories that were installed in chapter 5 back to root.
|
||||
Run the following commands to do so:</para>
|
||||
|
||||
<para><screen><userinput>chown 0.0 / /proc &&
|
||||
chown -R 0.0 /{bin,boot,dev,etc,home,lib,mnt,opt,root,sbin,tmp,usr,var}</userinput></screen></para>
|
||||
<para><screen><userinput>chown 0:0 / /proc &&
|
||||
chown -R 0:0 /{bin,boot,dev,etc,home,lib,mnt,opt,root,sbin,tmp,usr,var}</userinput></screen></para>
|
||||
|
||||
<para>Depending on the filesystem you created on the LFS partition, you may
|
||||
have a /lost+found directory. If so, run:</para>
|
||||
|
||||
<para><screen><userinput>chown 0.0 /lost+found</userinput></screen></para>
|
||||
<para><screen><userinput>chown 0:0 /lost+found</userinput></screen></para>
|
||||
|
||||
<para>These commands will change the ownership of the root partition and
|
||||
the <filename>/proc</filename> directory to root, plus everything under
|
||||
the directories mentioned in the second line. In these commands, 0.0 is
|
||||
used instead of the usual root.root, because the username root can't be
|
||||
the directories mentioned in the second line. In these commands, 0:0 is
|
||||
used instead of the usual root:root, because the username root can't be
|
||||
resolved because glibc is not yet installed.</para>
|
||||
|
||||
</sect1>
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
<!ENTITY book SYSTEM "book/book.xml">
|
||||
|
||||
<!ENTITY version "20020516">
|
||||
<!ENTITY releasedate "May 16th, 2002">
|
||||
<!ENTITY version "20020517">
|
||||
<!ENTITY releasedate "May 17th, 2002">
|
||||
|
||||
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
|
||||
<!ENTITY http-root "http://ftp.linuxfromscratch.org">
|
||||
|
Loading…
Reference in New Issue
Block a user