CodeIgniter Forums
Session file - Message touch error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19)
+--- Thread: Session file - Message touch error (/showthread.php?tid=66434)



Session file - Message touch error - krishg - 10-21-2016

I am using the files driver and session files are getting created in APPPATH/sessions directory

httpd is running as user apache.

On some pages, I get this error
Message touch: unable to create file application/sessions/<filename> because no such file or directory. Filename: drivers\sess_file_driver.php line 234

When the session file gets created, it seems to have the following permissions

-rw------    apache apache    

The sessions directory itself has rwxrwxrwx (0777 permission)

What am I missing?