file permissions for openvpn setup

18,381

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:
18,381

Related videos on Youtube

George
Author by

George

Updated on September 18, 2022

Comments

  • George
    George over 1 year

    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.

  • George
    George over 10 years
    :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
    George over 10 years
    :I should use sudo and not su first..
  • Rinzwind
    Rinzwind over 10 years
    that too :D glad you got it fixed @George ;)