Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 48689d4f7223e78da16fe0abe6e19d25 > files > 6

boinc-client-6.10.58-1.1.mga1.src.rpm

--- client/gui_rpc_server.cpp.orig	2009-03-07 02:00:20.000000000 +0100
+++ client/gui_rpc_server.cpp	2009-03-07 02:01:00.000000000 +0100
@@ -129,12 +129,7 @@
             // they can cause code to execute as this user.
             // So better protect it.
             //
-            if (g_use_sandbox) {
-                // Allow group access so authorized administrator can modify it
-                chmod(GUI_RPC_PASSWD_FILE, S_IRUSR|S_IWUSR | S_IRGRP | S_IWGRP);
-            } else {
-                chmod(GUI_RPC_PASSWD_FILE, S_IRUSR|S_IWUSR);
-            }
+            chmod(GUI_RPC_PASSWD_FILE, S_IRUSR|S_IWUSR | S_IRGRP | S_IWGRP);
 #endif
         }
     }