From b14acfc3dd9146ba7ffe87b7cddfe9bd85681cca Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 22 Mar 2022 21:31:03 +0100 Subject: [PATCH] Fix permissions of bundled content --- tools/linux_packaging/build | 4 ++++ tools/osx_packaging/osx_build | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index ba412e939a..4828d90f5a 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -743,6 +743,10 @@ if test -n "$MIXBUS"; then fi fi +echo "Setting Bundled Media dir/file permissions" +find "${MediaClips}" -type d -exec chmod 755 "{}" \; +find "${MediaClips}" -type f -exec chmod 644 "{}" \; + if true ; then mkdir -p $APPLIB/LV2 diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index 96cbbdc192..74fd4e057d 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -813,6 +813,10 @@ if test -n "$MIXBUS"; then fi fi +echo "Setting Bundled Media dir/file permissions" +find "${MediaClips}" -type d -exec chmod 755 "{}" \; +find "${MediaClips}" -type f -exec chmod 644 "{}" \; + ################################################################################ if test x$DEMO_SESSION_URL != x ; then