Changeset dc8572f


Ignore:
Timestamp:
12/04/2023 06:15:01 PM (6 months ago)
Author:
Thomas Trepl <thomas@…>
Branches:
12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
529345e, 622f56d, 73d91ac, 9830e45
Parents:
7fb4eb8
Message:

Fix cmds installing python docs (permissions)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r7fb4eb8 rdc8572f  
    4040    appropriate for the entry or if needed the entire day's listitem.
    4141    -->
     42
     43    <listitem>
     44      <para>2023-12-04</para>
     45      <itemizedlist>
     46        <listitem>
     47          <para>[thomas] - Modify commands for install Python docs to avoid
     48          too restrictive permissions on the files and dirs.</para>
     49        </listitem>
     50      </itemizedlist>
     51    </listitem>
     52
    4253    <listitem revision='sysv'>
    4354      <para>2023-12-01</para>
  • chapter08/python.xml

    r7fb4eb8 rdc8572f  
    156156<screen><userinput remap="install">install -v -dm755 /usr/share/doc/python-&python-version;/html
    157157
    158 tar --strip-components=1  \
    159     --no-same-owner       \
    160     --no-same-permissions \
    161     -C /usr/share/doc/python-&python-version;/html \
    162     -xvf ../python-&python-version;-docs-html.tar.bz2</userinput></screen>
     158tar --no-same-owner \
     159    -xvf ../python-&python-version;-docs-html.tar.bz2
     160cp -R --no-preserve=mode python-&python-version;-docs-html/* \
     161    /usr/share/doc/python-&python-version;/html</userinput></screen>
    163162
    164163    <variablelist>
     
    166165
    167166    <varlistentry>
    168       <term><option>--no-same-owner</option> and <option>--no-same-permissions</option></term>
     167      <term><option>--no-same-owner</option> (tar) and <option>--no-preserve=mode</option> (cp)</term>
    169168      <listitem>
    170169        <para>Ensure the installed files have the correct ownership and
    171170        permissions.  Without these options, <application>tar</application>
    172         will install the package files with the upstream creator's values.
     171        will install the package files with the upstream creator's values
     172        and files would have restrictive permissions.
    173173        </para>
    174174      </listitem>
Note: See TracChangeset for help on using the changeset viewer.