Changeset a723063 in clfs-embedded for BOOK


Ignore:
Timestamp:
Mar 23, 2011, 10:39:24 PM (14 years ago)
Author:
Andrew Bradford <bradfa@…>
Branches:
master
Children:
2ef8466
Parents:
1897712
git-author:
Andrew Bradford <bradfa@…> (03/22/11 10:49:38)
git-committer:
Andrew Bradford <bradfa@…> (03/23/11 22:39:24)
Message:

Moved chowning.xml to cleanup chapter, edited it

Moved bootable/common/chowning.xml to the cleanup chapter as that's a
more appropriate place for it. Chowning everything to root should only
happen to the ${CLFS}-final directory (our copy) so as to not disrupt
the ability to go back and compile more packages as clfs user.

Also edited chowning.xml to only operate on the ${CLFS}-final directory
and to update chgrp command to use group "13" rather than "utmp" since
utmp group may not be group 13 on the build machine.

Location:
BOOK/cleanup
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • BOOK/cleanup/chapter.xml

    r1897712 ra723063  
    1313
    1414  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="remove-files.xml"/>
     15  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="chowning.xml"/>
    1516  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="copy-to-target.xml"/>
    1617
  • BOOK/cleanup/chowning.xml

    r1897712 ra723063  
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
    4   <!ENTITY % general-entities SYSTEM "../../general.ent">
     4  <!ENTITY % general-entities SYSTEM "../general.ent">
    55  %general-entities;
    66]>
     
    99  <?dbhtml filename="chowning.html"?>
    1010
    11   <title>Changing the Ownership Of The CLFS System</title>
     11  <title>Changing the Ownership of the CLFS System</title>
    1212
    1313  <para>Throughout the book, every package has been compiled and installed as
     
    1717  <important>
    1818
    19     <para>The commands in the remainder of this book must be performed while
     19    <para>The commands on this page of the book must be performed while
    2020    logged in as <systemitem class="username">root</systemitem>. Check that
    2121    ${CLFS} is still set:</para>
     
    2828  entire CLFS system:</para>
    2929
    30 <screen><userinput>chown -Rv root:root ${CLFS}</userinput></screen>
     30<screen><userinput>chown -Rv root:root ${CLFS}-final</userinput></screen>
    3131
    32   <para>The following files are not to be owned by
    33   <systemitem class="username">root</systemitem>:</para>
     32  <para>The following files should not to belong to the
     33  <systemitem class="groupname">root</systemitem> group, they should belong
     34  to the <systemitem class="groupname">utmp</systemitem> group (group 13):</para>
    3435
    35 <screen><userinput>chgrp -v utmp ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog</userinput></screen>
     36<screen><userinput>chgrp -v 13 ${CLFS}-final/var/run/utmp ${CLFS}-final/var/log/lastlog</userinput></screen>
    3637
    3738</sect1>
Note: See TracChangeset for help on using the changeset viewer.