in reply to Insecure dependency on perl module
Having a look at the source to File::Path it appears, that your code is carping when attempting to perform the unlink. eg.
233 unless (unlink $root) { 234 carp "Can't unlink file $root: $!"; 235 if ($force_writeable) { 236 chmod $rp, $root 237 or carp("and can't restore permissions + to " 238 . sprintf("0%o",$rp) . "\n"); 239 } 240 last; 241 }
It might be worth posting a little bit of code to see how you are cleaning up the file name that you are sending to File::Path::rmtree. Also too, have you cleaned up your PATH environment variable prior to the calling of the File::Path::rmtree function?
Ooohhh, Rob no beer function well without!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Insecure dependency on perl module
by hotshot (Prior) on Nov 19, 2001 at 12:53 UTC | |
by rob_au (Abbot) on Nov 19, 2001 at 17:14 UTC |