-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Application fails to launch after extraction - missing execute permissions
Description
The CapsLockSwitcher.app downloaded from the releases section fails to launch with the error:
The application "CapsLockSwitcher.app" can't be opened.
Root cause
The ZIP archive contains incorrect file permissions. The main executable lacks execute permissions:
$ unzip -l CapsLockSwitcher.app.zip
Archive: CapsLockSwitcher.app.zip
...
-rw---- 0.0 fat 388144 b- defN 25-Apr-02 02:29 CapsLockSwitcher.app/Contents/MacOS/CapsLockSwitcher
...
The file CapsLockSwitcher.app/Contents/MacOS/CapsLockSwitcher has permissions -rw---- (0600) instead of -rwx------ (0700).
Workaround
chmod +x CapsLockSwitcher.app/Contents/MacOS/CapsLockSwitcherExpected behavior
The executable should have execute permissions set in the ZIP archive to allow the app to launch immediately after extraction.
Environment
- macOS (version not specified, but issue affects all versions)
- Downloaded from: https://github.com/doasync/CapsLockSwitcher/releases
alurm, Lucaswaung, borislavlandik and TimofeyBiryukov
Metadata
Metadata
Assignees
Labels
No labels