X-Spam-Check-By: sourceware.org Message-ID: <439D7929.7080109@byu.net> Date: Mon, 12 Dec 2005 06:20:41 -0700 From: Eric Blake User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Krzysztof Duleba CC: cygwin AT cygwin DOT com Subject: Re: exim 4.54-1 and broken symlinks References: <020a01c5fc0b$9a51d060$fb0010ac AT wirelessworld DOT airvananet DOT com> <026d01c5fc3d$68641040$fb0010ac AT wirelessworld DOT airvananet DOT com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Krzysztof Duleba on 12/12/2005 3:35 AM: > > And ln -s -f a b produces b ==> a if a.exe doesn't exist yet. You are correct that the behavior of cygwin ln in the presence of symlinks has not been consistent in the past. I think the current behavior (in 5.3.0-9 or 5.93-1) is the most sane - if linking to an existing file, .exe is appended to the link if the existing file had .exe; otherwise, nothing is done. There is also the cygwin-specific --disable-exe-magic option to bypass .exe magic when creating symlinks. Beyond that, once a symlink was created (either by the packager, or by a postinstall script) with inconsistent use of .exe using an older version of ln, or by creating the symlink before the .exe, you will run into these potential issues. Let me know if I need to do any further looking into the behavior of ln, or whether this particular symlink issue is taken care of by reinstallation and/or improved exim postinstall scripts. - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net volunteer cygwin coreutils maintainer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDnXkp84KuGfSFAYARAh9fAJ4hL738QgCab8YuVrmo1oKq9MAKcQCcDAah C386z5tdnTH2wtWxACq4nCE= =IDSY -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/