www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/19/06:40:07

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_MK,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4C95E53D.5090107@alice.it>
References: <4C95E53D DOT 5090107 AT alice DOT it>
Date: Sun, 19 Sep 2010 11:39:46 +0100
Message-ID: <AANLkTinsWbbsMA2JC1+O3ab-JEKnMhEkMyrUqry=TP9N@mail.gmail.com>
Subject: Re: Cygwin and symlink
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 19 September 2010 11:26, Angelo Graziosi wrote:
> I remember that some time ago (don't when, sigh!) if I had
>
> $ ln -sf foo.pdf slnk_foo.pdf
>
> I was able to read 'slnk_foo.pdf' double clicking on its icon from Explor=
er
> or 'Computer Resources'. Now AR complains and I can't read it.
>
> Is this to be expected?

Yep. They're just UTF-16 text files with special attributes now.

> BTW, I remember also that the icon of 'slnk_foo.pdf' had the symbol of a
> link (like an 'arrow'), now it is as other PDF files icon.
>
> When there was the 'transmutation'? =C2=A0:-)

Cygwin 1.7. Set CYGWIN=3Dwinsymlinks to switch to the old behaviour. See
also http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html.

Or use a hard link instead of a symlink. Or, if you're on Vista or 7,
create a native Windows symlink using cmd.exe's mklink builtin (which
you can call from bash using 'cmd /c mklink').

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019