diff options
author | Christian Breunig <christian@breunig.cc> | 2023-09-15 07:30:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-15 07:30:44 +0200 |
commit | 8f705fb8cb0cd707ae3c144834eaa2b4c1b7f810 (patch) | |
tree | 821d26f2f3322dc619077f6f71b7d466e6194959 /src/conf_mode | |
parent | 22d5cd42f082fb11060edc51128f0b246198d2c1 (diff) | |
parent | 7a66413d6010485dd913832f54167bce38c12250 (diff) | |
download | vyos-1x-8f705fb8cb0cd707ae3c144834eaa2b4c1b7f810.tar.gz vyos-1x-8f705fb8cb0cd707ae3c144834eaa2b4c1b7f810.zip |
Merge pull request #2270 from indrajitr/ddclient-config-permission
ddclient: T5585: Fix file access mode for dynamic dns configuration
Diffstat (limited to 'src/conf_mode')
-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 |