Most Valued Members ewong 6 Posted November 7 Most Valued Members Share Posted November 7 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 Quote Link to comment Share on other sites More sharing options...
Most Valued Members Solution ewong 6 Posted November 7 Author Most Valued Members Solution Share Posted November 7 Found out it was SELinux. setenforce 0 fixed it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.