Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2003
    Manchester (UK)

    Used to work yesterday: "touch(): Utime failed: Operation not permitted"

    There is this script on my server that used to work fine yesterday. However, today when a customer comes to use it, he gets the following error:

    touch(): Utime failed: Operation not permitted

    I believe it is permissions, but what permissions do i need to set?


  2. #2
    I would suspect that it is one of the following:

    a) The drive that the file that is being 'touched' is mounted read-only
    b) The permissions on the file that is being 'touched' are wrong

    To fix a) just remount the drive read write, to fix b) you will need to give the user that is running the script appropriate permissions on the file that is being touched, assuming it is owned by them then chmod u+rw filename should do it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts