aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
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>