aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/sed.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/sed.xml')
-rw-r--r--chapter05/sed.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/chapter05/sed.xml b/chapter05/sed.xml
index 7a79a1b78..c909be585 100644
--- a/chapter05/sed.xml
+++ b/chapter05/sed.xml
@@ -27,6 +27,13 @@
<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=/tools</userinput></screen>