Reputation: 13
So this is my first time asking a question on here or any forum. I've tried looking into this problem but none of the questions asked or the solutions to those questions really applied to my problem. ill try to be as specific as i can. I'm new to Linux, I've dual booted ubuntu 16.04 on my 64bit laptop. I'm trying to create and configure an openvpn and in trying to unzip "server.conf.gz"
i run into this
bash: /etc/openvpn/server.confg: Permission denied
and don't know why. Please if anyone knows what i have to do please help me out, i would really appreciate it. Thank you for taking the time to read through all that.
Upvotes: 0
Views: 1090
Reputation: 1
Please use:
gunzip server.conf.gz -c /etc/openvpn
or
sudo gunzip server.conf.gz -c /etc/openvpn
hope it will works.
Upvotes: 0
Reputation: 5027
Use sudo
before the command or root
user to execute that command. Your current user doesn't have permission to write in /etc/openvpn
directory.
Upvotes: 1