Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26460

RPM upgrade/install should adapt ownership of /var/cache/jenkins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • packaging
    • 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
      

            svanoort Sam Van Oort
            olenz Olaf Lenz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: