changeset 7617:a83aaf250284

[gaim-migrate @ 8241] gaim-remote was the culprit ... Nathan and Luke found this at virtually the same time. Good job, guys. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Sun, 23 Nov 2003 23:32:42 +0000
parents a4acf41898c1
children 53e38b1ce00a
files plugins/gaim-remote/remote.c src/util.c
diffstat 2 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/gaim-remote/remote.c	Sun Nov 23 22:55:41 2003 +0000
+++ b/plugins/gaim-remote/remote.c	Sun Nov 23 23:32:42 2003 +0000
@@ -650,6 +650,7 @@
 			g_log(NULL, G_LOG_LEVEL_CRITICAL,
 			      "Failed to assign %s to a socket (Error: %s)",	
 			      saddr.sun_path, strerror(errno));
+			umask(m);
 			return -1;
 		}
 		umask(m);
--- a/src/util.c	Sun Nov 23 22:55:41 2003 +0000
+++ b/src/util.c	Sun Nov 23 23:32:42 2003 +0000
@@ -1225,11 +1225,6 @@
 			g_free(dir);
 			return -1;
 		}
-		/* For some reason, the above mkdir doesn't properly
-		 * set permissions for some people ... and I have NO
-		 * idea why not.  In the meantime, we'll attempt to
-		 * set them explicitly. */
-		chmod(dir, mode);
 	}
 
 	g_strfreev(components);