0
I have a PHP file on AWS linux server. The address is /var/app/***/a.php
. When I try to edit the file using WinSCP, I get the permission denied error.
I tried to access the rights to edit using this command: chown -R root:root /var/app
with and without sudo
, but it didn't work. What should I do?
Try to edit file with
sudo
, e.g.sudo vim /var/app/***/a.php
. – kenorb – 2019-01-15T12:15:25.523