提交 68a7f8e3 编写于 作者: K Kohsuke Kawaguchi

[FIXED JENKINS-11714] Fixed the problem in the find command operator priority.

see https://groups.google.com/forum/#!topic/jenkinsci-ja/4FsDhryOwYE
上级 471566dd
......@@ -64,6 +64,9 @@ Upcoming changes</a>
<li class=bug>
Fixed IPv6 handling in Winstone
(<a href="https://github.com/jenkinsci/winstone/pull/2">pull request #2</a>)
<li class=bug>
OS X installer can fail to set the file permissions correctly.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-11714">issue 11714</a>)
</ul>
</div><!--=TRUNK-END=-->
......
......@@ -6,7 +6,7 @@ JENKINS_PLIST="/Library/LaunchDaemons/org.jenkins-ci.plist"
chown root:wheel ${JENKINS_PLIST}
chmod 644 ${JENKINS_PLIST}
mkdir -p /Users/Shared/Jenkins
find /Users/Shared/Jenkins -not -user daemon -or -not -group daemon -print0 | xargs -0 chown daemon:daemon
find /Users/Shared/Jenkins \( -not -user daemon -or -not -group daemon \) -print0 | xargs -0 chown daemon:daemon
# Load and start the launch daemon
/bin/launchctl load -w ${JENKINS_PLIST}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册