*** empty log message ***

svn path=/trunk/boinc/; revision=10293
This commit is contained in:
Charlie Fenton 2006-06-10 00:17:52 +00:00
parent e9ddf9f268
commit 2072963360
3 changed files with 13 additions and 5 deletions

View File

@ -5754,10 +5754,15 @@ Charlie 9 June 2006
- Changes for sandbox:
Renamed global variable boinc_project_gid to g_boinc_project_gid.
Change shared memory segment group to g_boinc_project_gid.
Set umask to 002 in both client and manager so files are writable
by both user and group.
client/
app_start.C
client_state.C,h
client_types.C
main.C
clientgui/
BOINCGUIApp.cpp
lib/
shmem.C,h

View File

@ -345,10 +345,8 @@ static void init_core_client(int argc, char** argv) {
#endif
#ifdef __APPLE__
// We have postponed implementing the umask change due to security concerns.
// umask(0); // Set file creation mask to make all files world-writable
#ifdef sandbox
umask (2); // Set file creation mask to be writable by both user and group
// Our umask will be inherited by all our child processes
#endif

View File

@ -241,6 +241,11 @@ bool CBrandingScheme::OnInit( wxConfigBase *pConfig ) {
bool CBOINCGUIApp::OnInit() {
#ifdef sandbox
umask (2); // Set file creation mask to be writable by both user and group
// Our umask will be inherited by all our child processes
#endif
// Setup variables with default values
m_bBOINCStartedByManager = false;
m_bFrameVisible = true;
@ -249,7 +254,7 @@ bool CBOINCGUIApp::OnInit() {
m_hBOINCCoreProcess = NULL;
m_hClientLibraryDll = NULL;
#endif
m_strDefaultWindowStation = wxT("");
m_strDefaultWindowStation = wxT("");
m_strDefaultDesktop = wxT("");
m_strDefaultDisplay = wxT("");