Added a chown command to the GStreamer instructions to fix incorrect permissions on installed documentation files

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3093 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2004-12-09 15:30:13 +00:00
parent 5b664aa6fd
commit 726be182f8
4 changed files with 24 additions and 12 deletions

View File

@ -6,9 +6,9 @@
<!ENTITY traceroute-download-http "http://gd.tuwien.ac.at/platform/sun/packages/solaris/freeware/SOURCES/traceroute-&traceroute-version;.tar.gz">
<!ENTITY traceroute-download-ftp "ftp://ftp.ee.lbl.gov/traceroute-&traceroute-version;.tar.gz">
<!ENTITY traceroute-size "73 KB">
<!ENTITY traceroute-buildsize "464 KB">
<!ENTITY traceroute-time "0.02 SBU">
<!ENTITY traceroute-size "74 KB">
<!ENTITY traceroute-buildsize "540 KB">
<!ENTITY traceroute-time "0.01 SBU">
]>
<sect1 id="traceroute" xreflabel="Traceroute-&traceroute-version;">
@ -35,7 +35,7 @@ url="&traceroute-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&traceroute-download-ftp;"/></para></listitem>
<listitem><para>Download size: &traceroute-size;</para></listitem>
<listitem><para>Estimated Disk space required:
<listitem><para>Estimated disk space required:
&traceroute-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&traceroute-time;</para></listitem></itemizedlist>
@ -62,15 +62,16 @@ make install-man</command></userinput></screen>
<para><command>sed 's/-o bin/-o root/' Makefile.in</command>:
Adjusts the <filename>Makefile</filename> so that the program is installed
with user root instead of user bin (which doesn't exist on a default
with user root instead of user bin (which doesn't exist on a default
<acronym>LFS</acronym> system).</para>
<para><command>make install</command>: Installs <command>traceroute</command>
with <acronym>SUID</acronym> set to root in the <filename>/usr/sbin</filename>
directory. This makes it possible for all users to execute
<command>traceroute</command>. For absolute security, turn off the
<acronym>SUID</acronym> bit in <command>traceroute</command>'s file permissions
with the command:</para>
with <acronym>SUID</acronym> set to root in the
<filename class='directory'>/usr/sbin</filename> directory. This makes it
possible for all users to execute <command>traceroute</command>. For absolute
security, turn off the <acronym>SUID</acronym> bit in
<command>traceroute</command>'s file permissions with the command:</para>
<screen><command>chmod 0755 /usr/sbin/traceroute</command></screen>
<para>The risk is that if a security problem such as a buffer overflow was
@ -87,6 +88,7 @@ your individual situation.</para>
should move <filename>traceroute</filename> to
<filename class='directory'>/usr/bin</filename> with the following command:
</para>
<screen><command>mv /usr/sbin/traceroute /usr/bin</command></screen>
<para>This ensures that the binary is in the path for non-root users.</para>

View File

@ -1,11 +1,11 @@
<!ENTITY day "08">
<!ENTITY day "09">
<!ENTITY month "12">
<!ENTITY year "2004">
<!ENTITY version "svn-&year;&month;&day;">
<!ENTITY releasedate "December &day;th, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "cvs"> <!-- cvs|[release #] -->
<!ENTITY lfs-version "testing"> <!-- stable|testing|unstable] -->
<!ENTITY lfs-version "stable"> <!-- stable|testing|unstable] -->
<!ENTITY last-commit "$Date$"> <!-- Automatic update -->
<!ENTITY maintainer-fullname "Bruce Dubbs">

View File

@ -22,6 +22,10 @@ who wrote what.</para>
<itemizedlist>
<listitem><para>December 9th, 2004 [randy]: Added a chown command to the
GStreamer instructions to fix incorrect permissions on installed
documentation.</para></listitem>
<listitem><para>December 8th, 2004 [igor]: Changed ProFTPD login shell
to /usr/lib/proftpd/proftpdshell as suggested by Nathan
Coulson.</para></listitem>

View File

@ -81,6 +81,7 @@ commands:</para>
--localstatedir=/var --disable-docs-build &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
chown -R root:root /usr/share/doc/gstreamer-&gstreamer-version; &amp;&amp;
gst-register</command></userinput></screen>
</sect2>
@ -102,6 +103,11 @@ instead of <filename class="directory">/usr/etc</filename>.</para>
the rebuilding of documentation during the <command>make</command>
command.</para>
<para><command>chown -R root:root ...</command>: The documentation is
installed with ownerships of the user who untarred and built the package.
This command changes the ownerships of the installed documentation files to
root:root.</para>
</sect2>
<sect2>