Add SFTP User Permissions In Google Compute Engine

Adding FileZilla SFTP permissions to a Google Compute Engine (GCE) instance can be a little tricky. When using WordPress on GCE it’s really hard to deal with files if you can’t use FileZilla. This took me several days to finally figure out. Maybe it’s a simple hack to those familiar with command-line but that wasn’t me.

There was no forum or other site posting how to do this. It seems that if you can SSH into the GCE instance you should be able to also SFTP from FileZilla. However, that is not the case. You can read the files but can’t upload files.

So here is what worked for me:

I was logged in via the GCE SSH browser available through the console.

I added my user “david” to the group www-data, which is the Apache group.

sudo usermod -g www-data david

then I made sure I had write access:

sudo chgrp -R www-data /var/www/html
sudo chmod -R g+rwx /var/www/html

Hopefully, this will save you some time. If you brick your instance don’t complain to me. lol Make sure you take a snapshot before modifying anything. 🙂

By Artificial Brillance

No Comments

About The Author: Artificial Brillance

David Johnston, CEO has a background beginning in local business marketing and customer retention. After taking on high competition projects over the years David has gained experience and insight into the deeper things of ranking algorithms. David has learned how to use Social Media and traditional marketing to get top rankings for clients with Google, Yahoo and Bing.

No Comments




Google Please go to the web sites we comply with, which includes this one, as it represents our picks from the web.


Google One of our visitors not too long ago encouraged the following website.


write a paper for me With thanks. Very good information.


good jooob love site


Google Always a big fan of linking to bloggers that I like but don’t get a lot of link love from.


Google Below you will find the link to some internet sites that we think you'll want to visit.


...Click here for or more Information [...]The total glance of your site is great, let smartly as the content![...]

akıllı olacaksın

Find more there: [...]you make blogging glance[...]


...Links [...]you made running a blog glance[...]


Look there for more: [...]you make blogging glance[...]

online radio

...Check this out [...]The overall look of your website is excellent, let neatly as the content material![...]

online radio

...A Friend recommended your blog [...]The full look of your website is magnificent, let neatly as the content material![...]


...Visitor recommendations [...]Wow, fantastic weblog structure! How lengthy have you ever been running a blog for?[...]


...Take a look for more Information on that topic [...]you make blogging glance[...]


Look there for more: [...]I am now not sure where you are getting your info, however good topic.[...]

sik kafali

...Additional Information ca be found here [...]you make blogging glance[...]