diff --git a/common/hooks/post-install/03-strip-and-debug-pkgs.sh b/common/hooks/post-install/03-strip-and-debug-pkgs.sh index 8fec05410e..f8d3d02038 100644 --- a/common/hooks/post-install/03-strip-and-debug-pkgs.sh +++ b/common/hooks/post-install/03-strip-and-debug-pkgs.sh @@ -81,7 +81,6 @@ hook() { fi case "$(file -bi "$f")" in application/x-executable*) - chmod 755 "$f" if echo "$(file $f)" | grep -q "statically linked"; then # static binary $STRIP "$f" @@ -102,7 +101,6 @@ hook() { fi ;; application/x-sharedlib*) - chmod 755 "$f" # shared library make_debug "$f" $STRIP --strip-unneeded "$f" @@ -122,7 +120,6 @@ hook() { attach_debug "$f" ;; application/x-archive*) - chmod 644 "$f" $STRIP --strip-debug "$f" if [ $? -ne 0 ]; then msg_red "$pkgver: failed to strip ${f#$PKGDESTDIR}\n"