in reply to How do I know if I can delete a file/folder?

<joke level="lame">Try deleting the file... if it works, then you have permission:
$file = '/path/to/file'; eval "unlink $file"; $@ && print "You do not have delete permission on $file\n";
</joke>
He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady | http://chady.net/