Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: File won't dessapear.

by perlcgi (Hermit)
on Jun 01, 2000 at 17:55 UTC ( [id://15820]=note: print w/replies, xml ) Need Help??


in reply to File won't dessapear.

Just two suggestions:
1. If on Unix, have you checked the directory permissions - you need write access to the directory as well as to the file. Could you have created the temp file originally as a different user?
2. Are you sure as ZZ pointed out that $path contain the full path of the file. unlink will only delete directories if run as root.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://15820]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-19 16:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found