diff options
author | Christian Breunig <christian@breunig.cc> | 2023-09-15 21:20:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-15 21:20:55 +0200 |
commit | 4ce8e3b54162f7af7e00c77cdcc59ac513afed49 (patch) | |
tree | fa58ae77175485963a7730b465d955c3f8cad278 /src | |
parent | 41341f776cefded63ed5a3f64f6d301ca0715b94 (diff) | |
parent | 0ea915fc81bf6ae681116cffb93e4de18685da70 (diff) | |
download | vyos-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)
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/dns_dynamic.py | 2 |
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 |