Am 19.10.16 um 15:04 schrieb Samuli Seppänen:
> Hi,
>
> While preparing OpenVPN 2.4-alpha1 release the discussion about 
> user-specific OpenVPN configuration files came up again. To give some 
> background, OpenVPN-GUI can now delegate privileged operations (e.g. 
> route adding) to the OpenVPN Interactive Service. This means that normal 
> users are now able to launch OpenVPN connections without having admin 
> privileges. On top of that, users can now store OpenVPN configuration 
> files in their home directory, under %USERPROFILE%\OpenVPN\config[*]. 
> The rationale for this directory choice was discussed here:
>
> <https://github.com/OpenVPN/openvpn-gui/pull/18#issuecomment-190138431>
>
> Three directory alternatives have been proposed:
>
> %USERPROFILE%\OpenVPN\config (current approach)
> %APPDATA%\OpenVPN\config
> %USERPROFILE%\.openvpn\config

Nobody wants that. That will confuse everyone. Even UNIX have learned
that windows uses %APPDATA% instead of that unix hack of dot files.
>
> People seem to agree that %APPDATA%\OpenVPN\config would be the most 
> "proper" place for the configuration files. The fear was that people 
> don't know about it, and will not thus find it. 

I think if a user should create OpenVPN\config in its home or just tell
them to do Windows Key+R, enter %appdata%\openvpn\config shouldn't
matter. And the really clueless can still put it into C:\program
files\OpenVPN\config.

And even this is not really needed since we have a Import config
function in the UI that will copy it to the right place.

And most applications are using that folder. Why should we be special?

> Of course the location 
> would be documented, but people probably would not read the 
> documentation and would get confused.
Tunnelblick on OSX also keeps its config files in ~/Library/Application
Support/Tunnelblick/Configurations

It also ask you when you double click on a ovpn file if you want to
import it. Windows UI also has an import functionality that will place
into the right folder.
> There also seems to be agreement that using %USERPROFILE%\OpenVPN\config 
> (=current approach) is rather invasive. However, it has the benefit that 
> users might actually find it without reading the documentation.
>
> *NIX guys would love %USERPROFILE%\.openvpn\config, and it kind of makes 
> sense for a cross-platform app, but Windows guys would probably be at loss.

Mac OS X also does not use dotfiles.
> So what should be do with this? Any directory we choose we have to live 
> with for a long time - replacing it with something else would break 
> setups for lots of users.
>
> I'd like to finish the OpenVPN-2.4_alpha1 release tomorrow, so I hope we 
> can go through the bikeshedding today :).

I vote for %APPDATA%

Arne


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to