Search code examples
ruby-on-railspaperclippermission-deniedfolder-permissions

Paperclip - permission denied (controller)


Well, i'm a new linux/rails student and some problems I just get so blind to solve. I've been digging stackoverflow and google to solve this one, but sincerly I cant. Only thing I know that is related with chmod and chown commands. "Anuncios" is my table as you can see.

error image: enter image description here

I known the error reason is paperclip because I can create a entry without uploading a image. App running in Ubuntu. RoR 4.

Thanks.


Solution

  • /Anuncios isn't your table (maybe, you mean desktop?). Your Desktop at ~/Desktop -or- /home/Anuncios/Desktop

    /Anuncios looks like 'system dir', and it not exists