I am getting some 500 errors in my Passenger Rails app. When looking at the log it appears passenger cannot access the /tmp dir. I have validated that it is there and has
ls -l / $drwxrwxrw 9 root root 4096 Jun 26 11:34 tmp
If you don't see that t at the end of the permissions column '/tmp'
chmod o+t /tmp chmod 1777 /tmp $ ls -l / drwxrwxrwt 9 root root 4096 Jun 26 11:35 tmp
reason is Fixing temporary dir problems with Ruby 2