forked from pool/boinc-client
1feb96f4e2
update to 6.12.43 OBS-URL: https://build.opensuse.org/request/show/126826 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=25
19 lines
741 B
Diff
19 lines
741 B
Diff
Index: client/gui_rpc_server.cpp
|
|
===================================================================
|
|
--- client/gui_rpc_server.cpp.orig
|
|
+++ client/gui_rpc_server.cpp
|
|
@@ -145,12 +145,7 @@ int GUI_RPC_CONN_SET::get_password() {
|
|
// 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
|
|
}
|
|
}
|