Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission on executable #41

Open
KipTwitchell opened this issue Feb 10, 2022 · 2 comments
Open

Permission on executable #41

KipTwitchell opened this issue Feb 10, 2022 · 2 comments

Comments

@KipTwitchell
Copy link
Member

So, the documentation was clear about where the executable was put....I just didn't read it carefully enough, jumping straight to the Mac execution line instead. Would it be better to put the directory just in front of the execution parms?

Also, got this error:

ktwitchell001@Kips-MacBook-Pro wb % macosx/cocoa/x86_64/Eclipse.app
zsh: permission denied: macosx/cocoa/x86_64/Eclipse.app

I can probably Google it to get that fixed.

@KipTwitchell
Copy link
Member Author

KipTwitchell commented Feb 10, 2022

Well, chmod +x came back clean in command line, but didn't get a lot further. Here is the terminal output for what I tried:

ktwitchell001@Kips-MacBook-Pro wb % macosx/cocoa/x86_64/Eclipse.app
zsh: permission denied: macosx/cocoa/x86_64/Eclipse.app
ktwitchell001@Kips-MacBook-Pro wb % chmod +x macosx/cocoa/x86_64/Eclipse.app
ktwitchell001@Kips-MacBook-Pro wb % macosx/cocoa/x86_64/Eclipse.app
zsh: permission denied: macosx/cocoa/x86_64/Eclipse.app
ktwitchell001@Kips-MacBook-Pro wb % cd macosx
ktwitchell001@Kips-MacBook-Pro macosx % cd cocoa
ktwitchell001@Kips-MacBook-Pro cocoa % ls
x86_64
ktwitchell001@Kips-MacBook-Pro cocoa % ls -a
. .. x86_64
ktwitchell001@Kips-MacBook-Pro cocoa % cd x86_64
ktwitchell001@Kips-MacBook-Pro x86_64 % ls -a
. .. Eclipse.app
ktwitchell001@Kips-MacBook-Pro x86_64 % ls
Eclipse.app
ktwitchell001@Kips-MacBook-Pro x86_64 % ls -A
Eclipse.app
ktwitchell001@Kips-MacBook-Pro x86_64 % chmod +x Eclipse.app
ktwitchell001@Kips-MacBook-Pro x86_64 % ls -a
. .. Eclipse.app
ktwitchell001@Kips-MacBook-Pro x86_64 % cd Eclipse.app
ktwitchell001@Kips-MacBook-Pro Eclipse.app % ls
Contents
ktwitchell001@Kips-MacBook-Pro Eclipse.app % cd Cont
cd: no such file or directory: Cont
ktwitchell001@Kips-MacBook-Pro Eclipse.app % cd Contents
ktwitchell001@Kips-MacBook-Pro Contents % ls
Eclipse Info.plist MacOS
ktwitchell001@Kips-MacBook-Pro Contents % ls -a
. .. Eclipse Info.plist MacOS
ktwitchell001@Kips-MacBook-Pro Contents % Cd Eclipse
ktwitchell001@Kips-MacBook-Pro Contents % ls
Eclipse Info.plist MacOS
ktwitchell001@Kips-MacBook-Pro Contents % ls -a
. .. Eclipse Info.plist MacOS
ktwitchell001@Kips-MacBook-Pro Contents % cd Eclipse
ktwitchell001@Kips-MacBook-Pro Eclipse % ls
GenevaERS.ini artifacts.xml configuration p2 plugins
ktwitchell001@Kips-MacBook-Pro Eclipse % ls -a
. .. GenevaERS.ini artifacts.xml configuration p2 plugins
ktwitchell001@Kips-MacBook-Pro Eclipse % cd ..
ktwitchell001@Kips-MacBook-Pro Contents % ls
Eclipse Info.plist MacOS
ktwitchell001@Kips-MacBook-Pro Contents % pwd
/Users/ktwitchell001/workspace/genevaers/wb/products/com.ibm.safr.we.product/target/products/wb/macosx/cocoa/x86_64/Eclipse.app/Contents
ktwitchell001@Kips-MacBook-Pro Contents % cd .
ktwitchell001@Kips-MacBook-Pro Contents % cd ..
ktwitchell001@Kips-MacBook-Pro Eclipse.app % ls
Contents
ktwitchell001@Kips-MacBook-Pro Eclipse.app % cd ..
ktwitchell001@Kips-MacBook-Pro x86_64 % ls -a
. .. Eclipse.app
ktwitchell001@Kips-MacBook-Pro x86_64 % Eclipse.app
zsh: command not found: Eclipse.app

@KipTwitchell
Copy link
Member Author

Suggestion is to make the entire path one command prefixed with the "open" to open. I would also add the ability to copy the Eclipse.app to the Mac Application folder, and double click on it there as another choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant