mirror of https://github.com/BOINC/boinc.git
Mac Sandbox: To protect authenticators in init_data.xml files, make slots directory group boinc_project and not world-executable,
svn path=/trunk/boinc/; revision=20272
This commit is contained in:
parent
e236d3dc22
commit
a34e16f3a9
|
@ -722,4 +722,5 @@ Charlie 26 Jan 2010
|
||||||
mac/
|
mac/
|
||||||
SetupSecurity.cpp
|
SetupSecurity.cpp
|
||||||
mac_build/
|
mac_build/
|
||||||
|
Mac_SA_Insecure.sh
|
||||||
Mac_SA_Secure.sh
|
Mac_SA_Secure.sh
|
||||||
|
|
|
@ -41,8 +41,9 @@
|
||||||
# the --insecure option.
|
# the --insecure option.
|
||||||
# NOTE: running BOINC with security disabled is not recommended.
|
# NOTE: running BOINC with security disabled is not recommended.
|
||||||
#
|
#
|
||||||
# Last updated 9/1/09 for BOINC version 6.8.17 and 6.10.3
|
# Last updated 1/26/10 for BOINC versions 6.8.19, 6.10.30 and 6.11.1
|
||||||
# WARNING: do not use this script with older versions of BOINC
|
# WARNING: do not use this script with older versions of BOINC older
|
||||||
|
# than 6.8.17 and 6.10.3
|
||||||
|
|
||||||
function remove_boinc_users() {
|
function remove_boinc_users() {
|
||||||
name=$(dscl . search /users RecordName boinc_master | cut -f1 -s)
|
name=$(dscl . search /users RecordName boinc_master | cut -f1 -s)
|
||||||
|
@ -99,7 +100,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chown -R ${user}:${group} .
|
chown -R ${user}:${group} .
|
||||||
chmod -R u+rw-s,g+r-w-s,o+r-w .
|
chmod -R +Xu+rw-s,g+r-w-s,o+r-w .
|
||||||
chmod 600 gui_rpc_auth.cfg
|
chmod 600 gui_rpc_auth.cfg
|
||||||
|
|
||||||
if [ -f switcher/AppStats ] ; then
|
if [ -f switcher/AppStats ] ; then
|
||||||
|
|
Loading…
Reference in New Issue