Download & Extend

Unable to open sites/default/files/ctools/style/_temporary/* with 777 permission

Project:Chaos tool suite (ctools)
Version:6.x-1.7
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hello,

I keep receiving the following errors and I can't seem to fix them:

imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'sites/default/files/ctools/style/_temporary/ec248517a264cf2cfa1971f82727e549/rounded-shadow-background.png' for writing: Permission denied in /home/***/public_html/sites/all/modules/ctools/includes/stylizer.inc on line 584.

imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'sites/default/files/ctools/style/_temporary/8a13c3f759e1af8512ace925fae6ed0f/rounded-shadow-background.png' for writing: Permission denied in /home/***/public_html/sites/all/modules/ctools/includes/stylizer.inc on line 584.

Both of the file folders are set to 777 permission. Does anyone have any idea what may be causing this?

Thank you

Comments

#1

You should doublecheck the permissions on the folder tree. Did the 'files' directory get manually copied? That can sometimes change ownership and thus the permissions of files that had previously been written and need to be rewritten.

#2

Thank you merlinofchaos for such a quick reply. I managed to fix the problem by manually deleting the folders within _temporary and having ctools recreate them.

#3

Status:active» fixed

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#5

I am having similar issues, the same error keeps coming but changes as the file drills down deeper, the messages now focus on individual files within _temporary. I have changed permissions from 755 to 777 up until this point.

So for the _temporary files errors, I can just delete the files WITHIN _temporary (the files with hash-like file names) without issue? I have about 13 files.

Do I need to backup _temporary first?

#6

Backup first or is save to just delete and it will auto rebuild with folder permissions?