From 2c69ed48649f6980bf10bb7b28173937cb7a6543 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Fri, 9 Feb 2007 20:57:08 +0000 Subject: Remove some chmod commands as newer upstream releases mean they are no longer necessary. Fixes #1953. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7918 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/db.xml | 6 ++---- chapter06/ncurses.xml | 7 ++----- chapter06/readline.xml | 4 ---- 3 files changed, 4 insertions(+), 13 deletions(-) (limited to 'chapter06') diff --git a/chapter06/db.xml b/chapter06/db.xml index 367f85e65..ecedf09f9 100644 --- a/chapter06/db.xml +++ b/chapter06/db.xml @@ -107,11 +107,9 @@ - Fix the ownerships of the installed files: + Fix the ownership of the installed documentation: -chown -v root:root /usr/bin/db_* \ - /usr/lib/libdb* /usr/include/db* && -chown -Rv root:root /usr/share/doc/db-&db-version; +chown -Rv root:root /usr/share/doc/db-&db-version; diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index ae9235fbd..b931834f9 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -89,11 +89,8 @@ make install - Give the Ncurses libraries execute permissions: - -chmod -v 755 /usr/lib/*.&ncurses-version; - - Fix a library that should not be executable: + Correct the permissions of a library that should not be executable: + chmod -v 644 /usr/lib/libncurses++w.a diff --git a/chapter06/readline.xml b/chapter06/readline.xml index f7d5d96f9..4bffc3648 100644 --- a/chapter06/readline.xml +++ b/chapter06/readline.xml @@ -78,10 +78,6 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install make install - Give Readline's dynamic libraries more appropriate permissions: - -chmod -v 755 /lib/lib{readline,history}.so* - Now move the static libraries to a more appropriate location: mv -v /lib/lib{readline,history}.a /usr/lib -- cgit v1.2.3-54-g00ecf