Question

rails public folder problem

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?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hello,

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 :)