I'm deploying my ruby on rails app to a fresh ubuntu server that is using Apache & Phusion Passenger.
The only problem I ran into was that I needed to have my production.log file writable by everybody (permissions 666).
I have already changed the file to be owned by www-data (my apache user), but even when this is the case
It would not work. Phusion complained that it could not write to the log file.
I also noticed that the apache logs are owned by root??
What is going on here?