Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/config/modulesets/patches/telepathy-gabble-chmod-unix-socket.patch
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@marcopg.org>2009-01-20 17:21:49 (GMT)
committer Marco Pesenti Gritti <marco@marcopg.org>2009-01-20 17:21:49 (GMT)
commit7cd4cee4819b134a195ffb26eae26032493ef6bd (patch)
tree5229ef759ec97f1123e21f2bb162d59e9d5d02cb /config/modulesets/patches/telepathy-gabble-chmod-unix-socket.patch
parentffe31992dd4796c576ab58b61d61bbb772b982f0 (diff)
Some refactoring and fixes.
Diffstat (limited to 'config/modulesets/patches/telepathy-gabble-chmod-unix-socket.patch')
-rw-r--r--config/modulesets/patches/telepathy-gabble-chmod-unix-socket.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/modulesets/patches/telepathy-gabble-chmod-unix-socket.patch b/config/modulesets/patches/telepathy-gabble-chmod-unix-socket.patch
new file mode 100644
index 0000000..bb16883
--- /dev/null
+++ b/config/modulesets/patches/telepathy-gabble-chmod-unix-socket.patch
@@ -0,0 +1,14 @@
+diff -rN -u old-telepathy-gabble-rainbow/src/tube-stream.c new-telepathy-gabble-rainbow/src/tube-stream.c
+--- old-telepathy-gabble-rainbow/src/tube-stream.c 2007-12-11 16:28:48.000000000 +0100
++++ new-telepathy-gabble-rainbow/src/tube-stream.c 2007-12-11 16:28:48.000000000 +0100
+@@ -650,6 +650,9 @@
+ "Error binding socket: %s", g_strerror (errno));
+ return FALSE;
+ }
++
++ /* Everyone can use the socket */
++ chmod (addr.sun_path, 0777);
+ }
+ else if (priv->address_type == TP_SOCKET_ADDRESS_TYPE_IPV4)
+ {
+