Q:

file permissions for openvpn setup

I can't find what permissions I should give to certificates and to the folder.
I am importing the files from kde network manager.
If I give 400 or 640 permissions to /etc/openvpn ,then , from the network manager I can't open the folder openvpn in order to import the necessary files.

A:

Do not change the directory and you do (/should) not need to change the directory itself. /etc/openvpn needs to be something like 775 (rwxrwxr-x).
The permisions 400 (=readonly) are for the cert files. This explains it: How do I setup OpenVPN so I can securely use the internet from an unsecured hotspot? 
And do not forget: changes to /etc/ need sudo.

