Part of the EllisLab Network
   
 
ERROR - Severity: Warning —> chmod()  Operation not permitted /path/system/libraries/Log.php 113
Posted: 20 August 2007 01: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 06:41 PM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  102
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 04: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
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 819, on March 11, 2010 11:15 AM
Total Registered Members: 120498 Total Logged-in Users: 29
Total Topics: 126568 Total Anonymous Users: 0
Total Replies: 665449 Total Guests: 364
Total Posts: 792017    
Members ( View Memberlist )