Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/chroot/common/changingowner.xml

    rda7d5fc r5215448  
    1111  <title>Changing Ownership</title>
    1212
     13    <note>
     14      <para>This step is not optional as some of the binaries in
     15      <filename class="directory">/tools</filename> are set u+s.
     16      leaving the permissions as is could cause some commands,
     17      mount in particular, to fail later.</para>
     18    </note>
     19
    1320    <para os="a">Currently, the <filename class="directory">/tools</filename>
    1421    and <filename class="directory">/cross-tools</filename> directories
    1522    are owned by the user <emphasis>clfs</emphasis>, a user that
    16     exists only on the host system. Although <filename
     23    exists only on the host system. Although the <filename
    1724    class="directory">/tools</filename> and <filename
    18     class="directory">/cross-tools</filename> can be deleted once the CLFS
    19     system has been finished, they can be retained to build
     25    class="directory">/cross-tools</filename> directories can be deleted
     26    once the CLFS system has been finished, they can be retained to build
    2027    additional CLFS systems. If the <filename class="directory">/tools</filename>
    2128    and <filename class="directory">/cross-tools</filename> directories are
    2229    kept as is, the files are owned by a user ID without a corresponding
    2330    account. This is dangerous because a user account created later could
    24     get this same user ID and would own these directories and all the files
    25     therein, thus exposing those files to possible malicious manipulation.</para>
     31    get this same user ID and would own the <filename
     32    class="directory">/tools</filename> directory and all the files therein,
     33    thus exposing these files to possible malicious manipulation.</para>
    2634
    27     <para os="b">One possible fix for this issue might be to add the
    28     <systemitem class="username">clfs</systemitem> user to the new CLFS system
    29     later when creating the <filename>/etc/passwd</filename> file, taking care
    30     to assign it the same user and group IDs as on the host system. Alternatively,
     35    <para os="b">To avoid this issue, add the <systemitem
     36    class="username">clfs</systemitem> user to the new CLFS system later when
     37    creating the <filename>/etc/passwd</filename> file, taking care to assign
     38    it the same user and group IDs as on the host system. Alternatively,
    3139    assign the contents of the <filename class="directory">/tools</filename>
    3240    and <filename class="directory">/cross-tools</filename> directories to
Note: See TracChangeset for help on using the changeset viewer.