Ghost image folder permissions


So after upgrading my VPS to Ubuntu 18LTS this morning, my Ghost Installation practically stop working.

I backed up my image folder and so forth and reinstalled ghost and restored the DB… Okay, cool.

Now I have my blog pretty much back to the state it was before it broke… however, as I expected, ghost can’t write into the /ghost/content/images folder as I literally copied it directly into /content.

I’m getting:

EACCES: permission denied, open ‘/var/www/ghost/content/images/2018/09/image.jpg’

What’s the correct permissions for Ghost to be able to write into this folder?



Have you tried running ghost doctor? It will prompt you if any permissions are wrong with the exact commands to fix it :slight_smile:


Ah thanks so much!
It told me to use

sudo chown -R ghost:ghost ./content

worked perfectly!

Thank you very much!


Awesome :smile:


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.