in reply to Perl Permissions
Another way to get this error message that I've occasionally seen is when the file in question is open with a lock by another program.
--roboticus