*** empty log message ***

svn path=/trunk/boinc/; revision=11187
This commit is contained in:
David Anderson 2006-09-25 17:40:54 +00:00
parent 7f4f304e58
commit eefa006d7f
3 changed files with 20 additions and 6 deletions

View File

@ -10418,3 +10418,10 @@ Charlie 25 Sept 2006
Mac_SA_Secure.sh
boinc.xcodeproj/
project.pbxproj
David 25 Sept 2006
- core client, Mac: if file ownership not secure, describe
-insecure option in error message
client/
main.C

View File

@ -754,16 +754,24 @@ int main(int argc, char** argv) {
#else
#ifdef SANDBOX
// Make sure owners, groups and permissions are correct for the current setting of g_use_sandbox
// Make sure owners, groups and permissions are correct
// for the current setting of g_use_sandbox
//
#if defined(_DEBUG) && defined(__APPLE__)
// GDB can't attach to applications which are running as a diferent user
// or group, so fix up data with current user and group during debugging
// GDB can't attach to applications which are running as a diferent user
// or group, so fix up data with current user and group during debugging
//
if (check_security(g_use_sandbox, false))
SetBOINCDataOwnersGroupsAndPermissions();
#endif // _DEBUG && __APPLE__
int i = check_security(g_use_sandbox, false);
if (i) {
printf( "\nBOINC ownership or permissions are not set properly; please reinstall BOINC. (Error code %d)\n", i);
printf(
"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"
);
return ERR_USER_PERMISSION;
}
#endif // SANDBOX

View File

@ -69,7 +69,6 @@ Each area is managed by an 'owner'.
<tr>
<td>Translations of GUI and web text</td>
<td>Jens Seidler</td>
<td>Janus Kristensen</td>
</tr>
<tr>
<td>Unix build system</td>
@ -78,7 +77,7 @@ Each area is managed by an 'owner'.
</tr>
<tr>
<td>Web features</td>
<td>Janus Kristensen</td>
<td>David Anderson</td>
<td><a href=http://rob.axpr.net/>Rob Ogilvie</a></td>
</tr>
<tr>