Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedissue is with file permissions. http://php.net/touch#96221
Comment #2
marcus178 CreditAttribution: marcus178 commentedOk would that be the permissions on the module file or the files that are created by addagg?
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedissue is with the files that are created by advagg
Comment #4
mikeytown2 CreditAttribution: mikeytown2 commentedClosing 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.
Comment #5
marcus178 CreditAttribution: marcus178 commentedJust checked and permission on touch are already correct so must be something else.
Comment #6
mikeytown2 CreditAttribution: mikeytown2 commentedHmmm, thats what a google search on the subject said. I don't have this issue so I can't test the solution.
Comment #7
mikeytown2 CreditAttribution: mikeytown2 commented