Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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 at 12:44
    
:I should use sudo and not su first.. –  George Jan 22 at 15:07
    
that too :D glad you got it fixed @George ;) –  Rinzwind Jan 22 at 15:10

Your Answer

 
discard

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.