summaryrefslogtreecommitdiff
path: root/package/avahi/autoipd-perms.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/avahi/autoipd-perms.patch')
-rw-r--r--package/avahi/autoipd-perms.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/avahi/autoipd-perms.patch b/package/avahi/autoipd-perms.patch
new file mode 100644
index 000000000..c740e3f8a
--- /dev/null
+++ b/package/avahi/autoipd-perms.patch
@@ -0,0 +1,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: