1
0
forked from pool/boinc-client
boinc-client/boinc-guirpcauth.patch
Christian Wittmer a3436b8f80 Accepting request 536986 from home:aaronpuchert
- Update to version 7.8.3.
- Removed patch 0001-Fix-1530-null-pointer-dereference.patch that
  has been integrated upstream, rebased the other patches.
- Removed the deprecated "Encoding" line from the .desktop file.
- Updated the cleanup code:
  * Permissions seem to be correct now.
  * Line endings seem to be correct.
  * Applied the UTF-8 conversion to the 2011 notes as well.
- Removed the entire coprocs/NVIDIA directory, since all files in
  there have a doubtful license.
- Removed components that are not required for a Linux build.

OBS-URL: https://build.opensuse.org/request/show/536986
OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=65
2017-10-26 22:08:40 +00:00

32 lines
1.1 KiB
Diff

From: <saigkill@opensuse.org>
Date: 2011-04-28 17:29:54 +0000
X-Upstream: no
Create password file rw for group, this enables passwordless connection
of manager from users of the boinc group. This won't be probably
upstreamed as it might be unsafe for common usage without setting
proper group ownership of the password file.
---
client/gui_rpc_server.cpp | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
Index: boinc-client_release-7.6-7.6.33/client/gui_rpc_server.cpp
===================================================================
--- boinc-client_release-7.6-7.6.33.orig/client/gui_rpc_server.cpp
+++ boinc-client_release-7.6-7.6.33/client/gui_rpc_server.cpp
@@ -176,12 +176,7 @@ void 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
}