X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 2 Jan 2010 20:39:34 +0000 Message-ID: <416096c61001021239g71e06c43h1c73ea661d0e99e@mail.gmail.com> Subject: Re: Symbolic links problem with cygwin 1.7.1 in 64-bit Win7 Command Prompt From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Lee Rothstein: >> Will Windows junctions (for the path; plus the file name) work, here? Don't think so, afaik junction points (introduced in Win2000, and different from Vista/7 symlinks) work correctly for directories only. Hard links, however, should work just fine for the problem at hand. tuli tanssi: > Actually, in Windows 7, Microsoft has implemented true symbolic links > (as far as I know). > Maybe it is also in Vista? > Anyway, is that (microsoft's true symlinks) feature used in cygwin 1.7? > Apparently not, since it would solve my problem. Quoting Corinna Vinschen at http://sourceware.org/ml/cygwin/2009-11/msg00202.html: "Cygwin 1.7 does recognize reparse points and especially the new NTFS6 symlinks. However, it only reads them, never writes them, for the reasons repeated by cgf and me a couple of times. You just can't use them to store POSIX paths *and* allowing interoperability with native Win32 processes, plus the nonsense of coupling them with a user right, plus the super-nonsense only to allow Admins to create them by default. All that together makes them worse than Windows shortcuts and they have not the faintest advantage over Cygwin-only symlinks implemented as files with the SYSTEM DOS attribute set." You could create a Windows symbolic link using the Windows 'mklink' tool though, and it should work both in cmd.exe and in Cygwin. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple