in reply to Re: Re: Re: deleting a list of files
in thread deleting a list of files
See.. .if I wanted to remove all the files in a directory so I could rmdir it, and I used that regex to skip over dot and dot-dot, I'd also be skipping over dot-newline and dot-dot-newline, and then my rmdir would be failing mysteriously. A potential security hole if the presence of that directory permits me access to something I shouldn't have.
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: deleting a list of files
by larryl (Monk) on Mar 25, 2001 at 21:35 UTC |