I'm trying to start Jenkins hosted through Tomcat7. The JENKINS_HOME
variable is pointing to /opt/jenkins
. The problem I'm having is this: when I try to start the webapp, it fails if tomcat7
is not the owner of the /opt/jenkins
folder.
If the permissions on the folder are drwxrwxr-x tomcat7:jenkins
, I am able to start the webapp.
If the permissions on the folder are drwxrwxr-x jenkins:tomcat7
, I am unable to start the webapp.
If tomcat7
is in the jenkins
group, should it not have write-access to the folder? Why will the webapp only start if tomcat7
is the owner?