summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2009-09-09 11:07:10 -0700
committerPanu Matilainen <pmatilai@redhat.com>2009-11-25 08:42:28 +0200
commitb9120ae092aaa1c4ab9a4d730fb7e807d203af77 (patch)
treef68b2d1f4d0163908fcf1c33cf868e570d84ccf9
parent8ed8fabe920d823d5687d8481a8f2d459e022539 (diff)
downloadrpm-b9120ae092aaa1c4ab9a4d730fb7e807d203af77.tar.gz
find-debuginfo.sh: use permissions 444 for all .debug files
Signed-off-by: Roland McGrath <roland@redhat.com> (cherry picked from commit b69c5cf90d74738214fa46c94f223ac9800487de)
-rw-r--r--scripts/find-debuginfo.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh
index 21366bfb6..8d86de67e 100644
--- a/scripts/find-debuginfo.sh
+++ b/scripts/find-debuginfo.sh
@@ -93,6 +93,7 @@ strip_to_debug()
application/x-sharedlib*) g=-g ;;
esac
eu-strip --remove-comment $g -f "$1" "$2" || exit
+ chmod 444 "$1" || exit
}
# Make a relative symlink to $1 called $3$2