From 8e990219cbba8385276cd9cc30de3ce968795552 Mon Sep 17 00:00:00 2001 From: Mirko Galimberti Date: Wed, 13 Nov 2024 22:06:49 +0100 Subject: [PATCH] Fixes "permission denied" error on `macos-14` runner during osx app build job (#8924) --- .ci/osx_ci.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.ci/osx_ci.sh b/.ci/osx_ci.sh index 03b137a00..acda046b8 100644 --- a/.ci/osx_ci.sh +++ b/.ci/osx_ci.sh @@ -28,11 +28,11 @@ install_platypus() { gunzip Platypus.app/Contents/Resources/ScriptExec.gz mkdir -p /usr/local/bin - mkdir -p /usr/local/share/platypus + sudo mkdir -p /usr/local/share/platypus cp Platypus.app/Contents/Resources/platypus_clt /usr/local/bin/platypus - cp Platypus.app/Contents/Resources/ScriptExec /usr/local/share/platypus/ScriptExec - cp -a Platypus.app/Contents/Resources/MainMenu.nib /usr/local/share/platypus/MainMenu.nib - chmod -R 755 /usr/local/share/platypus + sudo cp Platypus.app/Contents/Resources/ScriptExec /usr/local/share/platypus/ScriptExec + sudo cp -a Platypus.app/Contents/Resources/MainMenu.nib /usr/local/share/platypus/MainMenu.nib + sudo chmod -R 755 /usr/local/share/platypus } generate_osx_app_bundle() {