summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-openvpn.py
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2021-09-12 11:41:16 +0700
committerDaniil Baturin <daniil@baturin.org>2021-09-12 11:41:16 +0700
commitb8bb9f5863d223e31383ca2e264ea0fea9d32dbe (patch)
tree77f6a3a36bb7743c051f8362c6b19a2404b3ab62 /src/conf_mode/interfaces-openvpn.py
parentb88a9fa6c70c7b15d20396e71a694008e6e31625 (diff)
downloadvyos-1x-b8bb9f5863d223e31383ca2e264ea0fea9d32dbe.tar.gz
vyos-1x-b8bb9f5863d223e31383ca2e264ea0fea9d32dbe.zip
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