Welcome Guest, Not a member yet? Register   Sign In
ERROR - Severity: Warning --> chmod() Operation not permitted /path/system/libraries/Log.php 113
#1

[eluser]Unknown[/eluser]
Guys,

Anyone know why my logs are full of these messages?

ERROR - 2007-08-20 19:23:04 --&gt; Severity: Warning --&gt; chmod() [<a href='function.chmod'>function.chmod</a>]: Operation not permitted /path/system/libraries/Log.php 113

ls -ld system/logs
gives
drwxrwxrwx 2 username groupname 4096 Aug 20 16:42 system/logs/
and the Log script can definitely write to the logs because it writes to the log everytime I load a page.

Anything else I can post to shed some light on this problem?

___________________________________________________________________

Some more investigation reveals it's happening whenever there's a 404 page.
The logs give:

ERROR - 2007-08-20 19:34:40 --&gt; 404 Page Not Found --&gt;
ERROR - 2007-08-20 19:34:40 --&gt; Severity: Warning --&gt; chmod() ...etc...
#2

[eluser]Sean Murphy[/eluser]
Does the user your webserver runs as have permission to chmod those files? What does ls -l system/logs output? If you chmod the files to 777 do you still get the errors?
#3

[eluser]Unknown[/eluser]
Thanks - files have the following permissions:
ls -l system/logs
-rw-rw-rw- 1 nobody nobody 974 Aug 21 10:30 log-2007-08-21.php

and, as I said earlier, the directory has these permissions:
ls -ld system/logs
drwxrwxrwx 2 username groupname 4096 Aug 20 16:42 system/logs/




Theme © iAndrew 2016 - Forum software by © MyBB