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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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
      

            Assignee:
            Sam Van Oort
            Reporter:
            Olaf Lenz
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: