Skip to content

Commit

Permalink
[FIXED JENKINS-12231] ensure right owner
Browse files Browse the repository at this point in the history
  • Loading branch information
ndeloof committed Jan 20, 2014
1 parent a6495c0 commit 4335bd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rpm/SPECS/jenkins.spec
Expand Up @@ -110,6 +110,10 @@ if test -d /var/run/hudson; then
rmdir /var/run/hudson
fi

# Ensure the right ownership on files
. /etc/sysconfig/jenkins
chown -R ${JENKINS_USER:-jenkins} /var/log/jenkins
chown -R ${JENKINS_USER:-jenkins} ${JENKINS_HOME:-%{workdir}}

%preun
if [ "$1" = 0 ] ; then
Expand Down

1 comment on commit 4335bd4

@oleg-nenashev
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leads to setup performance issues.
See https://issues.jenkins-ci.org/browse/JENKINS-23273

Please sign in to comment.