2012-02-02 21:59:26 +01:00
|
|
|
Index: client/gui_rpc_server.cpp
|
|
|
|
===================================================================
|
|
|
|
--- client/gui_rpc_server.cpp.orig
|
|
|
|
+++ client/gui_rpc_server.cpp
|
2014-03-22 15:01:27 +01:00
|
|
|
@@ -169,12 +169,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);
|
2011-04-28 19:29:54 +02:00
|
|
|
#endif
|
2014-03-22 15:01:27 +01:00
|
|
|
}
|
|
|
|
|