mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-09 03:38:09 +02:00
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.
This commit is contained in:
parent
775ec828b9
commit
8b107e9ee8
2 changed files with 2 additions and 2 deletions
|
|
@ -413,7 +413,7 @@ update (NMDnsPlugin *plugin,
|
||||||
g_clear_error (&error);
|
g_clear_error (&error);
|
||||||
goto out;
|
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, "BIND local caching DNS configuration:");
|
||||||
nm_log_dbg (LOGD_DNS, "%s", conf->str);
|
nm_log_dbg (LOGD_DNS, "%s", conf->str);
|
||||||
|
|
|
||||||
|
|
@ -294,7 +294,7 @@ update (NMDnsPlugin *plugin,
|
||||||
g_clear_error (&error);
|
g_clear_error (&error);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
ignored = chmod (CONFFILE, 0600);
|
ignored = chmod (CONFFILE, 0644);
|
||||||
|
|
||||||
nm_log_dbg (LOGD_DNS, "dnsmasq local caching DNS configuration:");
|
nm_log_dbg (LOGD_DNS, "dnsmasq local caching DNS configuration:");
|
||||||
nm_log_dbg (LOGD_DNS, "%s", conf->str);
|
nm_log_dbg (LOGD_DNS, "%s", conf->str);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue