File boinc-guirpcauth.patch of Package boinc-client

--- client/gui_rpc_server.cpp	2010-06-18 11:45:45.000000000 -0500
+++ client/gui_rpc_server.cpp.orig	2010-10-04 13:23:39.000000000 -0500
@@ -146,12 +146,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
         }
     }
openSUSE Build Service is sponsored by