/[gentoo-x86]/net-misc/networkmanager/files/networkmanager-resolvconf-perms.patch
Gentoo

Contents of /net-misc/networkmanager/files/networkmanager-resolvconf-perms.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Nov 10 18:51:39 2010 UTC (3 years, 10 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
punt old wrt #340329

(Portage version: 2.2.0_alpha4/cvs/Linux x86_64)

1 --- src/named-manager/nm-named-manager.c.orig 2006-03-25 00:38:24.000000000 -0500
2 +++ src/named-manager/nm-named-manager.c 2006-03-25 00:44:15.000000000 -0500
3 @@ -31,6 +31,7 @@
4 #include <resolv.h>
5 #include <sys/socket.h>
6 #include <sys/types.h>
7 +#include <sys/stat.h>
8 #include <arpa/inet.h>
9 #include <syslog.h>
10 #include <glib.h>
11 @@ -396,6 +397,8 @@
12 if (rename (tmp_resolv_conf, RESOLV_CONF) < 0)
13 goto lose;
14 nm_system_update_dns ();
15 +
16 + chmod(RESOLV_CONF, S_IREAD | S_IWRITE | S_IRGRP | S_IROTH);
17 return TRUE;
18
19 lose:

  ViewVC Help
Powered by ViewVC 1.1.20