summaryrefslogtreecommitdiff
path: root/src/dns-manager/nm-dns-bind.c
diff options
context:
space:
mode:
authorEvan Broder <evan@ebroder.net>2012-01-30 11:59:05 -0800
committerDan Williams <dcbw@redhat.com>2012-02-02 12:02:11 -0600
commit8b107e9ee8b301dca12e85215c1a7edf1fa7ff7f (patch)
tree16e076efd560f613d4e2670dafb7f5b43f09b07d /src/dns-manager/nm-dns-bind.c
parent775ec828b9d5dba6a9241f8b2200f7884c1c0097 (diff)
dns: make caching DNS server config files readable by everyone
All of the information in the configuration files for local caching dnsmasq or BIND servers are accessible already over the D-Bus interface, so there's no sensitive information here.
Diffstat (limited to 'src/dns-manager/nm-dns-bind.c')
-rw-r--r--src/dns-manager/nm-dns-bind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns-manager/nm-dns-bind.c b/src/dns-manager/nm-dns-bind.c
index 55fce030c4..1a3243be89 100644
--- a/src/dns-manager/nm-dns-bind.c
+++ b/src/dns-manager/nm-dns-bind.c
@@ -413,7 +413,7 @@ update (NMDnsPlugin *plugin,
g_clear_error (&error);
goto out;
}
- ignored = chmod (CONFFILE, 0600);
+ ignored = chmod (CONFFILE, 0644);
nm_log_dbg (LOGD_DNS, "BIND local caching DNS configuration:");
nm_log_dbg (LOGD_DNS, "%s", conf->str);