Unable to access jarfile
Apparently everything was working fine before I restarted my macOS. After restarting I am facing following problems on desktop folder while using terminal
- It didn't allow me to run basic linux command like "ls" in desktop directory. I gave permission to terminal to access full disk then it worked fine.
- There is a jar file in desktop that I am not able to access/execute. The same jarfile I am able to execute in other directory. I have checked read and write access of current user for desktop directory and they are correct.
Not sure what is the issue here. how to resolve this issue? I want to run this in desktop folder only -
java -jar file.jar