-
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
-
[JENKINS-26460] RPM upgrade/install should adapt ownership of /var/cache/jenkins
Link |
New:
This issue is related to |
Component/s | New: packaging [ 20120 ] | |
Component/s | Original: core [ 15593 ] |
Assignee | New: Sam Van Oort [ svanoort ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 160528 ] | New: JNJira + In-Review [ 196468 ] |
I have proposed a patch: https://github.com/jenkinsci/jenkins/pull/1535