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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: packaging
    • Labels:
      None
    • Environment:
      RedHat Linux, using RPM packages
    • Similar Issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: