Jump to content

tomcat webapps permission


Go to solution Solved by ewong,

Recommended Posts

  • Most Valued Members

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

  • Most Valued Members
  • Solution

Found out it was SELinux.   setenforce 0 fixed it. 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...