Mac sandbox: set ownership and permissions for gfx_switcher in screensaver if it exists

svn path=/trunk/boinc/; revision=14803
This commit is contained in:
Charlie Fenton 2008-02-27 02:12:09 +00:00
parent 848499ecef
commit 19bc857b0a
2 changed files with 13 additions and 2 deletions

View File

@ -687,10 +687,11 @@ Charlie Jan 17 2008
check_security.C
clientgui/
mac/
Mac_SA_Secure.sh
SetupSecurity.cpp
doc/
sandbox.php
mac_build/
Mac_SA_Secure.sh
David Jan 18 2008
- scheduler: if get request w/o host ID,
@ -1663,3 +1664,10 @@ David Feb 26 2008
tools/
backend_lib.C
create_work.C
Charlie Feb 26 2008
- Mac sandbox: set ownership and permissions for gfx_switcher in screensaver
if it exists.
mac_build/
Mac_SA_Secure.sh

View File

@ -228,4 +228,7 @@ if [ -x /Applications/BOINCManager.app/Contents/Resources/boinc ] ; then
set_perm /Applications/BOINCManager.app/Contents/Resources/boinc boinc_master boinc_master 6555
fi
# Version 6 screensaver has its own embedded switcher application, but older versions don't.
if [ -x "/Library/Screen Savers/BOINCSaver.saver/Contents/Resources/gfx_switcher" ] ; then
set_perm "/Library/Screen Savers/BOINCSaver.saver/Contents/Resources/gfx_switcher" root boinc_master 4555
fi