提交 9c96f3dc 编写于 作者: K Kohsuke Kawaguchi

[FIXED JENKINS-25065 JENKINS-24987]

Based on the reaction to these issues and JENKINS-24514, I'm partially
reverting the original change, and bringing the umask default back to
022.

The configurable option does enable the user to choose a different
umask, so I think I can still claim that JENKINS-24514 is addressed.
上级 4eefff9f
......@@ -60,6 +60,9 @@ Upcoming changes</a>
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-10450">issue 10450</a>)
<li class=bug>
Updated SSH Slaves plugin to 1.8.
<li class=bug>
Due to the reaction, default umask in debian package is set back to 022
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-25065">issue 25065</a>)
</ul>
</div><!--=TRUNK-END=-->
......
......@@ -40,9 +40,18 @@ JENKINS_LOG=/var/log/jenkins/$NAME.log
MAXOPENFILES=8192
# set the umask to control permission bits of files that Jenkins creates.
# 027 makes files read-only for group and inaccessible for others. comment this out to inherit setting
# (as of Ubuntu 12.04, by default umask comes from pam_umask(8) and /etc/login.defs
UMASK=027
# 027 makes files read-only for group and inaccessible for others, which some security sensitive users
# might consider benefitial, especially if Jenkins runs in a box that's used for multiple purposes.
# Beware that 027 permission would interfere with sudo scripts that run on the master (JENKINS-25065.)
#
# Note also that the particularly sensitive part of $JENKINS_HOME (such as credentials) are always
# written without 'others' access. So the umask values only affect job configuration, build records,
# that sort of things.
#
# If commented out, the value from the OS is inherited, which is normally 022 (as of Ubuntu 12.04,
# by default umask comes from pam_umask(8) and /etc/login.defs
# UMASK=027
# port for HTTP connector (default 8080; disable with -1)
HTTP_PORT=8080
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册