From 76c839e23ee89a8560784d49ce5d70d7d905446b Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 5 Jul 2013 13:29:16 +0300 Subject: [PATCH] - fix brp-java-repack-jars failing on strange permissions (#905573) --- brp-java-repack-jars | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/brp-java-repack-jars b/brp-java-repack-jars index 961834f..7f62adc 100755 --- a/brp-java-repack-jars +++ b/brp-java-repack-jars @@ -35,8 +35,8 @@ if [ ! -z "$JARS" ]; then pushd "$JTMPDIR" > /dev/null /usr/bin/unzip -qq -o "$j" - find -type d -exec chmod a+rx {} \; - find -type f -exec chmod a+r {} \; + find -type d -exec chmod a+rx,u+w {} \; + find -type f -exec chmod a+r,u+w {} \; rm -f "$j" # Create the directories first.