I've a development desktop having Ubuntu 10.04, Apache2 & PHP 5.3.2 installed. I've given 0777 permissions to my web application root folder and Apache2 is also running under current username. But sometimes following files error is getting,
file_put_contents(/var/www/kohana_project/application/cache/kohana_find_file_paths): failed to open stream: Permission denied.
For every request above file need to update and execute but error occurs rarely. Is any one have idea how to fix this issue ?
And one thing current logged-in user and www-data have full permissions on kohana_project directory and its contents.