-
Bug
-
Resolution: Fixed
-
Major
-
None
-
RedHat Linux, using RPM packages
The jenkins rpm packages correctly adapt the ownerships of /var/lib/jenkins and JENKINS_HOME to the JENKINS_USER from /etc/sysconfig/jenkins in a postinstall step.
Unfortunately, jenkins also uses the directory /var/cache/jenkins, which is not modified. Therefore I suggest to extend the rpm postinstall script by the line:
chown -R ${JENKINS_USER:-jenkins} /var/cache/jenkins
- is related to
-
JENKINS-23273 RPM post-install should not do a "chown -R ${JENKINS_USER:-jenkins} ${JENKINS_HOME:-/var/lib/jenkins}"
- Resolved