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

Eclipse.app is modified when installing plugins, invalidating code signature #1267

Open
2 tasks done
nicerloop opened this issue Mar 26, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@nicerloop
Copy link

Steps to reproduce

From a fresh installation and clean workspace:

  • install any plugin, for example Cucumber from the Eclipse Marketplace
  • quit Eclipse

I tried

  • launch Eclipse
    => the application cannot launch as the signature is invalidated by the plugin installed inside Eclipse.app

I expected:

  • Eclipse.app to start
  • plugins to be installed outside Eclipse.app

But got:

  • plugins installed inside Eclipse.app
  • Eclipse.app doe not start because the signature is now invalid

Tested under this environment:

  • OS : macOS
  • Eclipse IDE/Platform version : 2024-03

Community

  • I understand reporting an issue to this OSS project does not mandate anyone to fix it. Other contributors may consider the issue, or not, at their own convenience. The most efficient way to get it fixed is that I fix it myself and contribute it back as a good quality patch to the project.

Proposed fix

According to https://help.eclipse.org/latest/topic/org.eclipse.platform.doc.isv/reference/misc/multi_user_installs.html , Eclipse can be made to put plugins outside Eclipse.app by making the Eclipse.app/Contents/Eclipse folder read-only (0555).

I tried making the Eclipse.app/Contents/Eclipse folder read-only and observed the desired behaviour.

The Eclipse.app distributed should have this set by default as it impacts all macOS users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant