Most Valued Members ewong 8 Posted November 7, 2023 Most Valued Members Share Posted November 7, 2023 Hi, As I'm having some trouble with ESET PROTECT's webconsole, I downloaded a fresh era.war and copied it to the tomcat webapps directory, and removed the existing era directory. Restarted tomcat; but now it's complaining it can't create the /opt/tomcat/webapps/era directory. This is the permission for tomcat: # ls -la Quote drwxrwxr-x. 10 tomcat tomcat 4096 Nov 7 09:28 . drwxr-xr-x. 4 root root 30 Sep 15 08:28 .. drwxr-x---. 2 tomcat tomcat 4096 Sep 15 09:19 bin lrwxrwxrwx. 1 tomcat tomcat 11 Sep 15 09:39 conf -> /etc/tomcat drwxr-x---. 2 tomcat tomcat 4096 Sep 19 15:38 lib lrwxrwxrwx. 1 tomcat tomcat 16 Sep 15 09:48 logs -> /var/log/tomcat/ lrwxrwxrwx. 1 tomcat tomcat 23 Sep 15 09:37 temp -> /var/cache/tomcat/temp/ drwxr-xr-x. 2 tomcat tomcat 20 Nov 7 09:28 webapps drwxrwxr-x. 2 tomcat tomcat 20 Nov 7 09:22 webappsbad lrwxrwxrwx. 1 tomcat tomcat 23 Sep 15 09:36 work -> /var/cache/tomcat/work/ Are these permissions correct? Thanks Ed Link to comment Share on other sites More sharing options...
Most Valued Members Solution ewong 8 Posted November 7, 2023 Author Most Valued Members Solution Share Posted November 7, 2023 Found out it was SELinux. setenforce 0 fixed it. Link to comment Share on other sites More sharing options...
Recommended Posts