From c97d59b88475529effecd4be9f08d4e035d2a6d8 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 8 Jul 2026 16:34:11 -0500 Subject: [PATCH] fix permissions please --- distribution/macos/create_macos_build_ava.sh | 7 +------ distribution/macos/create_macos_pr_build_ava.sh | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/distribution/macos/create_macos_build_ava.sh b/distribution/macos/create_macos_build_ava.sh index 167b60791..a516c3c37 100755 --- a/distribution/macos/create_macos_build_ava.sh +++ b/distribution/macos/create_macos_build_ava.sh @@ -165,12 +165,7 @@ find "$DMG_FOLDER" -mindepth 1 -type f | while IFS= read -r src; do dst="/${src#"$DMG_FOLDER"/}" dmg-hfsplus "$UNCOMPRESSED_DMG" add "$src" "$dst" - - if [[ -x "$f" ]]; then - dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0755 - else - dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0644 - fi + dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0755 done # Copy the symlink into a folder, then copy the folder over with symlink permissions. diff --git a/distribution/macos/create_macos_pr_build_ava.sh b/distribution/macos/create_macos_pr_build_ava.sh index 8e989e673..92f3d6efc 100644 --- a/distribution/macos/create_macos_pr_build_ava.sh +++ b/distribution/macos/create_macos_pr_build_ava.sh @@ -161,12 +161,7 @@ find "$DMG_FOLDER" -mindepth 1 -type f | while IFS= read -r src; do dst="/${src#"$DMG_FOLDER"/}" dmg-hfsplus "$UNCOMPRESSED_DMG" add "$src" "$dst" - - if [[ -x "$f" ]]; then - dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0755 - else - dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0644 - fi + dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0755 done # Copy the symlink into a folder, then copy the folder over with symlink permissions.