When you run the program (Mac OS X) in IntellijIDEA, the compiler gives the error: (Access is denied)
PS In the terminal, it also does not work to launch files with the .sh extension

Error running Tomcat 8.5.111: Cannot run program
"/ Users / hudger / java files / apache-tomcat- 8.5.11 / bin / catalina.sh" (in directory "/ Users / hudger / java files /apache-tomcat-8.5.11/bin"): error = 13 Permission denied

  • Most likely, the accesses for the files are not correctly set. Judging by the conclusion, the files in the home directories of two different users "ekaterinapetrova" and "hudger" are used - kb0
  • There is one user, I just wrote the path manually, my mistake - Ekaterina
  • Problem solved It turns out you had to add permissions to the .sh file (in my case - catalina.sh which was in the bin folder). To do this, just go to the directory where the extension’s .sh file is located and write the following command: chmod +x ./catalina.sh - Ekaterina

0