aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2004-06-17 20:45:10 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2004-06-17 20:45:10 +0000
commit4a6cd87052e77f3273d5cfc57a43f046974e7a29 (patch)
treec510245335fe7900216060f8974a89fec543b450 /chapter06
parent39734a9d7a741ba34959e9fe950dbe7f04762389 (diff)
Added the sed permissions patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3805 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/sed.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/chapter06/sed.xml b/chapter06/sed.xml
index cf4598f0d..d6799c28c 100644
--- a/chapter06/sed.xml
+++ b/chapter06/sed.xml
@@ -28,6 +28,13 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, Texinfo</seg></seglistitem>
<sect2 role="installation">
<title>Installation of Sed</title>
+<para>A bug in this version of sed changes permissions on files modified using
+the in-place function (<userinput>-i</userinput> flag). Apply a patch to ensure
+that the original file permissions are preserved.</para>
+
+<screen><userinput>patch -Np1 -i ../sed-&sed-version;-permissions-1.patch
+</userinput></screen>
+
<para>Prepare Sed for compilation:</para>
<screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>