I have a rails app on an Ubuntu server. In my Apache config I have set the user and group to www-data. I want my rails app to write to a file. I have set the file permissions as follows:
-rw-rw-r-- 1 www-data www-data 0 Jun 5 22:35 notify_list.txt
Seems like rails should be able to write because the permissions are correct. But I keep getting permission denied. What are possible causes of this?
Thanks!