summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-15 21:20:55 +0200
committerGitHub <noreply@github.com>2023-09-15 21:20:55 +0200
commit4ce8e3b54162f7af7e00c77cdcc59ac513afed49 (patch)
treefa58ae77175485963a7730b465d955c3f8cad278
parent41341f776cefded63ed5a3f64f6d301ca0715b94 (diff)
parent0ea915fc81bf6ae681116cffb93e4de18685da70 (diff)
downloadvyos-1x-4ce8e3b54162f7af7e00c77cdcc59ac513afed49.tar.gz
vyos-1x-4ce8e3b54162f7af7e00c77cdcc59ac513afed49.zip
Merge pull request #2271 from vyos/mergify/bp/sagitta/pr-2270
ddclient: T5585: Fix file access mode for dynamic dns configuration (backport #2270)
-rwxr-xr-xsrc/conf_mode/dns_dynamic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/dns_dynamic.py b/src/conf_mode/dns_dynamic.py
index ab80defe8..4b1aed742 100755
--- a/src/conf_mode/dns_dynamic.py
+++ b/src/conf_mode/dns_dynamic.py
@@ -104,7 +104,7 @@ def generate(dyndns):
if not dyndns or 'address' not in dyndns:
return None
- render(config_file, 'dns-dynamic/ddclient.conf.j2', dyndns)
+ render(config_file, 'dns-dynamic/ddclient.conf.j2', dyndns, permission=0o600)
render(systemd_override, 'dns-dynamic/override.conf.j2', dyndns)
return None