From: Paul Donald Date: Thu, 12 Mar 2026 17:42:38 +0000 (+0100) Subject: openvpn: change tmp-dir to /tmp X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=56453de58cb4ccb14a2e2fd7f78fd77f0dac10d6;p=openwrt-packages.git openvpn: change tmp-dir to /tmp This allows openvpn to create any temp files after user or group change at exec time. Signed-off-by: Paul Donald --- diff --git a/net/openvpn/files/lib/netifd/proto/openvpn.sh b/net/openvpn/files/lib/netifd/proto/openvpn.sh index 2b01e7906..4bd12626f 100755 --- a/net/openvpn/files/lib/netifd/proto/openvpn.sh +++ b/net/openvpn/files/lib/netifd/proto/openvpn.sh @@ -128,7 +128,7 @@ proto_openvpn_setup() { append exec_params "--cd $cd_dir" append exec_params "--status /var/run/openvpn.$config.status" append exec_params "--syslog openvpn_$config" - append exec_params "--tmp-dir /var/run" + append exec_params "--tmp-dir /tmp" [ -n "$config_file" ] && append exec_params "--config \"$config_file\"" json_get_var ALLOW_DEPRECATED allow_deprecated