rails public folder problem

September 2, 2015 497 views
Deployment Dokku Ubuntu

I deploy my app using dokku digitalocean droplet. Everything work fine except access to public folder. Im using bootsy editor that allow me to upload picture to public folder.. but server refuse to write the image.. there is any solution to make public folder accessible?

1 Answer


It sounds like your editor doesn't have the permission to modify the files you are trying to modify or create. I would review this guide on permissions.

What user are you logging in with the editor with? What error are you getting? Can you give us the permissions of the folder you are trying to modify?

You likely just need to modify the permissions of the public folder so that you can modify and create things while keeping the web able to read them.

It's important to understand that when asking for help to provide as detailed information as you can. We can only help if we can replicate or get enough information to know what's going on :)

Linux is a multi-user OS that is based on the Unix concepts of file ownership and permissions to provide security, at the file system level. If you are planning improving your Linux skills, it is essential that have a decent understanding of how ownership and permissions...
Have another answer? Share your knowledge.