Re: unable to delete a file

cartercc wrote:

5 unlink $file;                  # does not delete EAUSR.txt

It could be anything from the mount options on the drive, to file
attribute settings, to anything else. Check the return value and the
error if it fails, like you would on an open call unlink $file or die
"can't unlike $file $!";

Tim Greer, CEO/Founder/CTO,, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!