Rails Errno::EACCES Permission Denied
Update: Yeah this answer came from ignorance and then seemed to gain traction. Anyway, the real answer can be found in Austen Tomek's answer
Hacked around this by doing chmod 777 on the tmp directory so I am guessing it is my ignorance on the user/permissions settings.
I found this post when I encountered this error and running chmod 777
is not the solution here.
You need to do some research on how to enable group permissions and configure apaches settings appropriately. Here is a Stack Exchange thread that details this rather well and contains useful links. Make sure apache has read, write and execute access to the appropriate directories but don't simply let ANYONE modify the directory. Locate your systems apache group and run chown
and chmod -g+[What permissions apache needs goes here]
I would suggest not running this with the -R
option and to actively look into which permission apache needs for specific directories. Link to Stack Exchange thread regarding apache permissions and permissions in general
I deleted the tmp folder completely, that worked for me. It just gets regenerated by the web server.