Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 0 down vote accepted

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.

share|improve this answer
:I checked that link but for example fro ca.crt it has permission 400.But with that permission I can't open the folder in order to import this file – George Jan 21 '14 at 12:44
:I should use sudo and not su first.. – George Jan 22 '14 at 15:07
that too :D glad you got it fixed @George ;) – Rinzwind Jan 22 '14 at 15:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.