summaryrefslogtreecommitdiffstats
path: root/package/avahi/avahi-autoipd-perms.patch
blob: c740e3f8aa7ffeceb5183a47bc750968f8218729 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- avahi-0.6.14/avahi-autoipd/main.c.cls	2006-09-13 12:49:45.000000000 -0700
+++ avahi-0.6.14/avahi-autoipd/main.c	2006-09-25 20:34:10.000000000 -0700
@@ -239,7 +239,7 @@
 
     fprintf(f, "%s\n", inet_ntop(AF_INET, &addr, buf, sizeof (buf)));
     fclose(f);
-
+    chmod(fn, S_IRUSR|S_IWUSR);
     return 0;
     
 fail: