teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame rpm-4.7.1-debug-perms.patch

Panu Matilainen 62b405
From 6cc599de01a9835b5128b7b2a869f9f7cf3976fb Mon Sep 17 00:00:00 2001
Panu Matilainen 62b405
From: Roland McGrath <roland@redhat.com>
Panu Matilainen 62b405
Date: Wed, 9 Sep 2009 11:07:10 -0700
Panu Matilainen 62b405
Subject: [PATCH] find-debuginfo.sh: use permissions 444 for all .debug files
Panu Matilainen 62b405
Panu Matilainen 62b405
Signed-off-by: Roland McGrath <roland@redhat.com>
Panu Matilainen 62b405
---
Panu Matilainen 62b405
 scripts/find-debuginfo.sh |    1 +
Panu Matilainen 62b405
 1 files changed, 1 insertions(+), 0 deletions(-)
Panu Matilainen 62b405
Panu Matilainen 62b405
diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh
Panu Matilainen 62b405
index 21366bf..8d86de6 100644
Panu Matilainen 62b405
--- a/scripts/find-debuginfo.sh
Panu Matilainen 62b405
+++ b/scripts/find-debuginfo.sh
Panu Matilainen 62b405
@@ -93,6 +93,7 @@ strip_to_debug()
Panu Matilainen 62b405
   application/x-sharedlib*) g=-g ;;
Panu Matilainen 62b405
   esac
Panu Matilainen 62b405
   eu-strip --remove-comment $g -f "$1" "$2" || exit
Panu Matilainen 62b405
+  chmod 444 "$1" || exit
Panu Matilainen 62b405
 }
Panu Matilainen 62b405
 
Panu Matilainen 62b405
 # Make a relative symlink to $1 called $3$2
Panu Matilainen 62b405
-- 
Panu Matilainen 62b405
1.6.2.5
Panu Matilainen 62b405