in reply to Kill file that I created, and recreate

You don't say who owns the image file. If it is placed in the file system by the cgi, it is probably owned by the httpd user. You can delete the file with perl's unlink, but write permission is needed on the parent directory inode, not the file.

You ordinarily cannot execute chown as it is privileged.

After Compline,
Zaxo

  • Comment on Re: Kill file that I created, and recreate