5/30/2018 - 1:08 PM

Google Cloud

Fix for SFTP error on Google Cloud servers

First up, you'll need to edit visudo (will open your default editor):

sudo visudo

Now add in the following line:

google-sudoers ALL=(ALL) ALL

Now you can change your working directory to use the google-sudoers group, like so:

sudo chown -R www-data:google-sudoers [MY DIRECTORY]