This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin and symlink
- From: Andy Koppe <andy dot koppe at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 19 Sep 2010 11:39:46 +0100
- Subject: Re: Cygwin and symlink
- References: <4C95E53D.5090107@alice.it>
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 Explorer
> 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'? Â:-)
Cygwin 1.7. Set CYGWIN=winsymlinks 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