summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-openvpn.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-12 08:04:55 +0200
committerGitHub <noreply@github.com>2021-09-12 08:04:55 +0200
commit4191629fdd46149a32df8d2255d585912c33706f (patch)
tree77f6a3a36bb7743c051f8362c6b19a2404b3ab62 /src/conf_mode/interfaces-openvpn.py
parentb88a9fa6c70c7b15d20396e71a694008e6e31625 (diff)
parentb8bb9f5863d223e31383ca2e264ea0fea9d32dbe (diff)
downloadvyos-1x-4191629fdd46149a32df8d2255d585912c33706f.tar.gz
vyos-1x-4191629fdd46149a32df8d2255d585912c33706f.zip
Merge pull request #1003 from dmbaturin/T3822
T3822: set the OpenVPN key file owner to openvpn:openvpn
Diffstat (limited to 'src/conf_mode/interfaces-openvpn.py')
-rwxr-xr-xsrc/conf_mode/interfaces-openvpn.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-openvpn.py b/src/conf_mode/interfaces-openvpn.py
index c3620d690..3cfb2b742 100755
--- a/src/conf_mode/interfaces-openvpn.py
+++ b/src/conf_mode/interfaces-openvpn.py
@@ -477,6 +477,7 @@ def generate(openvpn):
# Fixup file permissions
for file in fix_permissions:
chmod_600(file)
+ chown(file, 'openvpn', 'openvpn')
return None