rails public folder problem

Posted September 2, 2015 4k views

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?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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 :)

by Mitchell Anicas
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 to improve your Linux skills, it is essential that you have a decent understanding of how these work. In this tutorial, we will cover how to view and understand Linux ownership and permissions.