Part of the EllisLab Network
   
 
ERROR - Severity: Warning —> chmod()  Operation not permitted /path/system/libraries/Log.php 113
Posted: 20 August 2007 02:32 PM   [ Ignore ]  
Summer Student
Total Posts:  2
Joined  08-09-2007

Guys,

Anyone know why my logs are full of these messages?

ERROR - 2007-08-20 19:23:04—> Severity: Warning —> chmod() [function.chmod]: 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—> 404 Page Not Found—>
ERROR - 2007-08-20 19:34:40—> Severity: Warning —> chmod() ...etc…

Profile
 
 
Posted: 20 August 2007 07:41 PM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  101
Joined  07-23-2007

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?

 Signature 

IamSeanMurphy.com

Profile
 
 
Posted: 21 August 2007 05:58 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  2
Joined  08-09-2007

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/

Profile