*** empty log message ***

svn path=/trunk/boinc/; revision=11190
This commit is contained in:
Charlie Fenton 2006-09-25 22:32:09 +00:00
parent a410ce46a3
commit b3ca5f6a7e
3 changed files with 8 additions and 3 deletions

View File

@ -770,7 +770,8 @@ int main(int argc, char** argv) {
"File ownership or permissions are set in a way that\n"
"does not allow sandboxed execution of BOINC applications.\n"
"To use BOINC anyway, use the -insecure command line option.\n"
"To change ownership/permission, reinstall BOINC.\n"
"To change ownership/permission, reinstall BOINC or run\n"
" the shell script Mac_SA_Secure.sh.\n"
);
return ERR_USER_PERMISSION;
}

View File

@ -93,9 +93,11 @@ chown -R ${user}:${group} .
chmod -R u+rw-s,g+r-w-s,o+r-w .
chmod 600 gui_rpc_auth.cfg
# AppStats application must run setuid root
if [ -f switcher/AppStats ] ; then
# AppStats application must run setuid root (used in BOINC 5.7 and later)
chown root:${group} switcher/AppStats
chmod 4550 switcher/AppStats
fi
if [ -x /Applications/BOINCManager.app/Contents/MacOS/BOINCManager ] ; then
chown ${user}:${group} /Applications/BOINCManager.app/Contents/MacOS/BOINCManager

View File

@ -188,8 +188,10 @@ if [ -d slots ] ; then
update_nested_dirs slots
fi
# AppStats application must run setuid root
# AppStats application must run setuid root (used in BOINC 5.7 and later)
if [ -f switcher/AppStats ] ; then
set_perm switcher/AppStats root boinc_master 4550
fi
set_perm switcher/switcher boinc_project boinc_project 6551
set_perm switcher/setprojectgrp boinc_master boinc_project 2500