From: Selva N. <sel...@gm...> - 2016-02-11 20:23:39
|
Hi, On Thu, Feb 11, 2016 at 11:42 AM, Samuli Seppänen <sa...@op...> wrote: > 2) OpenVPN-GUI points OpenVPN config directory to a system-wide location > > While OpenVPN-GUI now saves the registry keys under "HKCU" (=current > user) instead of "HKLM" (=local-machine), the default value for OpenVPN > configs is still C:\Program Files\OpenVPN\config (or equivalent). At > least on my test system the OpenVPN configuration files under that > directory could not be read by a normal user, even though listing the > files was permitted. This caused OpenVPN-GUI to see the config file, but > upon loading it just hanged. > Changing this default may break most setups as that is where the GUI looked for configs for so long.. I was under the impression that C:\Program FIles\ and directories & files under it are readable by all users. And that matches with a few machines I checked (win 7, win10, server2012). openvpn.nsis does not show any permission settings on these folders either. May be there are some "hardened" systems where such locations are not readable? I'm don't write GUI, so anything beyond a warning popup is too hard for me. Yet, it would be nice to have an initial configuration dialog (shown at first run by each user) to set config_dir and possibly a few other parameters. Selva |