[PATCH] fix unlink for Cygwin 1.5.25-15 -- unintended data loss with symbolic file links
Mon Sep 15 23:03:00 GMT 2008
On Monday, September 15, 2008 3:29 PM, Christopher Faylor wrote:
> On Mon, Sep 15, 2008 at 02:31:07PM -0700, Jason wrote:
> >Please consider the patch below for inclusion in the Cygwin 1.5 branch
> >corrects the deletion of symbolic link file types (Vista file reparse
> >The problem is that CreateFile will open the target and not the link.
> >the MSDN page
> >a more detailed description of Vista's symbolic link handling.
> Sorry but we're not anticipating any new releases of Cygwin 1.5.x.
Okay, I thought I'd submit the trivial patch just in case someone else runs
into the problem. The bug has very interesting side effects if someone does
a "rm -rf" of a directory which may contain such symbolic links. Luckily I
had a backup. I look forward to the 1.7 release!
More information about the Cygwin-patches