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

URL

... [Trackback] [...] There you will find 27618 more Infos: artificialbrilliance.com/google-qr-code-tracking/ [...]

Google

Google Just beneath, are many completely not related websites to ours, even so, they're surely really worth going over.

Google

Google We like to honor a lot of other world-wide-web web sites around the internet, even when they aren’t linked to us, by linking to them. Underneath are some webpages really worth checking out.

Google

Google Here are some of the web pages we recommend for our visitors.

Google

Google Very few web-sites that happen to be comprehensive below, from our point of view are undoubtedly effectively worth checking out.

Google

Google Sites of interest we have a link to.

Google

Google Although web sites we backlink to beneath are considerably not associated to ours, we feel they're basically really worth a go by, so possess a look.

Google

Google Always a massive fan of linking to bloggers that I like but do not get a lot of link love from.

Google

Google Sites of interest we've a link to.

Google

Google We like to honor quite a few other world-wide-web web pages around the web, even if they aren’t linked to us, by linking to them. Below are some webpages really worth checking out.

Google

Google The time to read or visit the material or internet sites we have linked to beneath.

tamoxifen

tamoxifen

Google

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

Google

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

writeessay

write a paper for me https://dekrtyuijg.com/ With thanks. Very good information.

radyo

good jooob love site

anybunny.mobi/latest/

anybunny.mobi/latest/ anybunny.mobi/latest/

Google

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

Google

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[...]

juegos

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![...]

juegos

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

oruspu

...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[...]