1

I'm having this permissions issue on a setup I did on Google Cloud using Easy Engine.

The error is this: rm /etc/nginx/sites-available/mysite.com: permission denied

I do not know why this happens, I have other sites on Vultr and Digital Ocean and I have not had this problem.

If anyone can help me, I appreciate it.

Thank you.

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343
Fernando
  • 11
  • 1
  • 4

1 Answers1

2

You should active su to have root access permissions.

try:

sudo su -
rm /etc/nginx/sites-available/mysite.com