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
In reply to Re: Kill file that I created, and recreate
by Zaxo
in thread Kill file that I created, and recreate
by ecuguru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |