Bug#286905: perl-modules: File::Path::rmtree makes setuid

2005-02-08 Thread Arne Wichmann
Hi. As this Bug is now lying around for more than one month I decided to look into a fix. It is not a very beautiful one, it is only partially tested and it only works for systems which can fork, so please look over it before applying it. The idea is to fork off a process, change into the

Bug#286905: perl-modules: File::Path::rmtree makes setuid

2005-01-24 Thread Brendan O'Dea
On Wed, Jan 12, 2005 at 05:02:41PM -0500, Aaron Sherman wrote: [p5p:] If anyone had a cleaner (and cross-platform) fix, I'd love to hear of it. Well, certainly relying on rm (and you assumed a -v option which, AFAIK implies GNU rm specifically) is right out. I'm sure others will say the same.