I am hoping someone could shed some light on this problem.
I am setting up a new server to host a Rails app and it is almost done.
The only error I'm getting is permission denied when the Paperclip
plugin uploads the image and attempts to move it to its final location.
It can upload to the temp folder without problem and execute the
ImageMagick commands without a problem.
It is the same folder structure as my old server.... Old server apache
ran as "nobody". New server I am not sure. From what I can tell it runs
under "daemon", but I've tried these permissions with no success:
I've tried different ownerships and permissions on the folders:
Ownership: nobody
Ownership: daemon
Ownership: root
Folder/File permissions: 755 and 777
Nothing has allowed it to move the uploaded image to the final folder.
I've been looking at this took long after a long hard fought battle with
ImageMagick installation issues.
It is "daemon". Not sure why previous attempts of giving
ownership/permission didn't work, but I backtracked through the folder
structure (nested quite deep on this Bitnami Rubystack) and made sure
the entire folder path allowed daemon write permissions.