error running 2022.3 installers.cmd: permission denied (makedmg.sh lacks execute permission)
Answered
bundle JBR and sign sit locally (duration=1 m 11 s 439 ms, end=20:49:29.9177, sitFile=${buildRoot}/artifacts/ideaIC-223.SNAPSHOT-aarch64.sit)
runProcess (duration=3 ms, end=20:49:29.9243, args=./makedmg.sh, ideaIC-223.SNAPSHOT-aarch64, IC-223.SNAPSHOT, ${buildRoot}/artifacts/ideaIC-223.SNAPSHOT-aarch64.dmg, timeoutMillis=10m)
events: exception (exception.message=Cannot run program "./makedmg.sh" (in directory "${buildRoot}/temp/ideaIC-223.SNAPSHOT-aarch64"): error=13, Permission denied, exception.stacktrace=
┌───────────────────────────────────────────────────────────────────────────────┐
java.io.IOException: Cannot run program "./makedmg.sh" (in directory "/Volumes/A/MyIDEA/out/idea-ce/temp/ideaIC-223.SNAPSHOT-aarch64"): error=13, Permission
-rw-r--r-- 1 alan staff 2373 Nov 25 18:02 makedmg.py
-rw-r--r-- 1 alan staff 3714 Dec 6 18:15 makedmg.sh
Please sign in to leave a comment.
Fixed in `master`, the workaround is to execute in Terminal:
> chmod +x platform/build-scripts/tools/mac/scripts/makedmg.sh
before running `installers.cmd`.
Thank you for reporting!