Skip to content

Commit

Permalink
Merge pull request #2270 from indrajitr/ddclient-config-permission
Browse files Browse the repository at this point in the history
ddclient: T5585: Fix file access mode for dynamic dns configuration
  • Loading branch information
c-po authored Sep 15, 2023
2 parents 22d5cd4 + 7a66413 commit 8f705fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conf_mode/dns_dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8f705fb

Please sign in to comment.