[{"data":1,"prerenderedAt":65},["ShallowReactive",2],{"blog-\u002Fblog\u002Flightsail-sftp-permissions-denied":3},{"id":4,"title":5,"body":6,"date":53,"description":54,"extension":55,"image":56,"meta":57,"navigation":58,"path":59,"seo":60,"stem":61,"tags":62,"__hash__":64},"blog\u002Fblog\u002Flightsail-sftp-permissions-denied.md","Lightsail SFTP permissions denied",{"type":7,"value":8,"toc":49},"minimark",[9,13,24,29,32,38],[10,11,12],"p",{},"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:",[14,15,20],"pre",{"className":16,"code":18,"language":19},[17],"language-text","Error: EACCES: permission denied\n","text",[21,22,18],"code",{"__ignoreMap":23},"",[25,26,28],"h2",{"id":27},"whats-the-problem","What's the problem?",[10,30,31],{},"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:",[14,33,36],{"className":34,"code":35,"language":19},[17],"sudo chown -R bitnami:daemon \u002Fopt\u002Fbitnami\u002Fapps\u002Fwordpress\u002Fhtdocs\u002Fwp-content\nsudo chmod -R g+w \u002Fopt\u002Fbitnami\u002Fapps\u002Fwordpress\u002Fhtdocs\u002Fwp-content\n",[21,37,35],{"__ignoreMap":23},[10,39,40,41,48],{},"Thanks to ",[42,43,47],"a",{"href":44,"rel":45},"https:\u002F\u002Fcommunity.bitnami.com\u002Ft\u002Fbitnami-on-aws-lightsail-wordpress-permission-issues-via-sftp\u002F57406\u002F8",[46],"nofollow","this thread","!",{"title":23,"searchDepth":50,"depth":50,"links":51},2,[52],{"id":27,"depth":50,"text":28},"2019-11-29","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:  ``` Error: EA","md",null,{},true,"\u002Fblog\u002Flightsail-sftp-permissions-denied",{"title":5,"description":54},"blog\u002Flightsail-sftp-permissions-denied",[63],"tip","B4BXGfbCUp21wXy9ZAglTXpmn7dC_YihwNmLb0TR4Fc",1785393036856]