Whenever I'm trying to open Eclipse or SpringToolSuite 4, I'm getting the same permission related issues It was working fine a day before yesterday but now It's showing weird stuff.
You do not have permission to open the application “SpringToolSuite4”.
You do not have permission to open the application “Eclipse”.
If anyone has any solutions please share
If you're familiar with an app, you can authorize it by clicking Open System Preferences in the alert, then selecting the checkbox for the app in the Privacy pane. If you're unfamiliar with an app or you don't want to give it access to your Mac at that time, click Deny in the alert.
You may not have the privileges to open the app, the app may be damaged, or it may not be installed. If you aren't an administrator of your Mac, the administrator may be preventing you from using the app. Contact the administrator of your Mac.
If macOS 11 Big Sur problems are still popping up for you, you’re not alone. The operating system may have been released a while ago – November 12, 2020 to be exact – but some issues stick around when dealing with a relatively new OS. While most people have sorted through those initial problems, it’s ok if you haven’t.
Hold the keys down until the computer restarts and you hear the startup chime for the second time. Release the keys after you hear the second startup chime. The PRAM will be reset as well. While in Safe Mode, run Disk Utility to see if that will fix any macOS Big Sur boot problems.
All the other answers assume it's actually a permissions thing but it's an issue with Big Sur not allowing unsigned applications from being run (even with that option turned on in system preferences). This should be the accepted answer. It's the only thing that worked for me, too. This worked for me too.
First, restart your Mac and hold down the Command + S keys on your keyboard as it boots up. This will boot you into a command prompt. Now, enter in the following: Press Enter on your keyboard. Then enter in the following: This removes a file, which makes it appear like you're starting Big Sur up for the first time.
The application has to be signed again
for Spring Tool Suite :
codesign --force --deep --sign - /Applications/SpringToolSuite4.app
for Eclipse :
codesign --force --deep --sign - /Applications/Eclipse.app
Synatx for signing application:
codesign --force --deep --sign - /Applications/{app-name}.app
As I faced, that re-installation only works for a couple of days, I was really happy about the the codesign statement, which also works for Eclipse.App itself:
codesign --force --deep --sign - /Applications/Eclipse.app
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With