summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-04-09 17:21:28 +0200
committerHolger Levsen <holger@layer-acht.org>2015-04-09 17:24:11 +0200
commitdf16b9ac9be65f172cf2118a3e24d9dd4b86432c (patch)
treea112cfc1f60789cae339bca8f2aac5fd0c26a5a1
parent9b0f93f97d5be903ec11b03491f2ff40ba3330eb (diff)
downloadjenkins.debian.net-df16b9ac9be65f172cf2118a3e24d9dd4b86432c.tar.xz
update_jdn: s/chmod/chown/
-rwxr-xr-xupdate_jdn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 408030ab..2fdabad9 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -217,7 +217,7 @@ sudo service munin-node force-reload
cd $BASEDIR
for dir in bin logparse job-cfg features live ; do
cp --preserve=mode,timestamps -r $dir /srv/jenkins/
- chmod -R jenkins-adm.jenkins-adm /srv/jenkins/$dir
+ chown -R jenkins-adm.jenkins-adm /srv/jenkins/$dir
done
cp procmailrc /var/lib/jenkins/.procmailrc
explain "Jenkins updated."