From f667d9f22cb93a5fe8df523d74e6d1b2d1ffa908 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Thu, 27 Aug 2015 22:07:21 +0930 Subject: [PATCH] Fix build script directory permissions --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 6e85d64..0cbd2cb 100755 --- a/build.sh +++ b/build.sh @@ -80,7 +80,8 @@ done # Finally, create the release archive cd ${release} -chmod -R 0644 * +find . -type d -exec chmod 0750 {} + +find . -type f -exec chmod 0644 {} + chmod 0775 . chmod -R 0775 assets flarum/storage zip -r release.zip ./