In my reports I'm getting the following error

touch() [function.touch]: Utime failed: Permission denied in /sites/all/modules/contrib/advagg/advagg.module on line 1606.

oddly though I have the same site on a different server for testing and don't get this error.

Comments

mikeytown2’s picture

issue is with file permissions. http://php.net/touch#96221

marcus178’s picture

Ok would that be the permissions on the module file or the files that are created by addagg?

mikeytown2’s picture

issue is with the files that are created by advagg

mikeytown2’s picture

Status: Active » Closed (works as designed)

Closing this issue. For anyone else who sees this:

The run permissions for the server file named 'touch' are not set correctly. Assuming this is your server, find 'touch' and chmod it to 755. You need to set the appropriate permissions for that file in order for PHP to be able to run it.

sudo chmod 755 /bin/touch
marcus178’s picture

Just checked and permission on touch are already correct so must be something else.

mikeytown2’s picture

Hmmm, thats what a google search on the subject said. I don't have this issue so I can't test the solution.

mikeytown2’s picture

Title: touch() [<a href='function.touch'>function.touch</a>]: » touch(): Utime failed: Permission denied in advagg.module on line 1606