CodeIgniter Forums
Log file as root user? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Log file as root user? (/showthread.php?tid=57755)



Log file as root user? - El Forum - 04-09-2013

[eluser]Unknown[/eluser]
When I upload file thru CI, file user is set correctly as www-data:www-data but for some reason log files what CI creates automatically are as user root:root.

Don't know if that's the problem but my log files are full of text:

Code:
Severity: Warning  --> chmod(): Operation not permitted /mypath/public_html/system/libraries/Log.php 106

I believe that there is chmod update on log class just in case when text is added to log files.

Any ideas how I should fix this problem?