All Articles

Lightsail SFTP permissions denied

georgekarapi

georgekarapi

2019-11-29 · 1 min read

If you ever setup a Lightsail instance (Linux) and you'll try to access it by SFTP client (Filezilla in this case) you will come with this error:

text
Error: EACCES: permission denied

What's the problem?

Well, it's because of the default permissions (by installation). Quickest and easiest way to solve it is by accessing an ssh terminal of your instance and firing up:

text
sudo chown -R bitnami:daemon /opt/bitnami/apps/wordpress/htdocs/wp-content
sudo chmod -R g+w /opt/bitnami/apps/wordpress/htdocs/wp-content

Thanks to this thread!

tip
Newsletter

Deep Dives into Engineering

Get technical insights on architecture, distributed systems, and modern frontend engineering delivered to your inbox.