X-Spam-Check-By: sourceware.org Message-ID: <45B7611A.8080505@byu.net> Date: Wed, 24 Jan 2007 06:37:30 -0700 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: ln -s exe magic (coreutils 6.7-2) References: <011701c73f43$3d07d270$3e0010ac AT wirelessworld DOT airvananet DOT com> In-Reply-To: <011701c73f43$3d07d270$3e0010ac@wirelessworld.airvananet.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Pierre A. Humblet on 1/23/2007 4:07 PM: > When a user runs exim-config, the following line is executed: > ln -s -f /usr/bin/exim /usr/sbin/sendmail > > Do you want to link /usr/sbin/sendmail to /usr/sbin/ssmtp (y/N)? y > and it runs > ln -s -f /usr/sbin/ssmtp /usr/sbin/sendmail Thanks for the excellent diagnosis. > > My suggestion is that by default ln -s should not do any magic. If some magic is > desired, users can define an alias or shell function that adds --enable-exe-magic I'll have to revisit the exe magic in 'ln -s' to make sure it covers this case. It may be a few days before I can get another coreutils release out, but it is now on my list. Meanwhile, we probably also ought to patch ssmtp-config to be aware of this issue, and have it remove any symlinks with alternate spellings. - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net volunteer cygwin coreutils maintainer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFt2Ea84KuGfSFAYARAiGUAKCLOkr+SiiPGl/bGdenCA0woAxY4gCgg3g4 9vgqkSFUK3nvhcOWQOVc6s8= =jbFN -----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/