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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • packaging
    • None
    • RedHat Linux, using RPM packages

    Description

      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
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: