This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ln -s exe magic (coreutils 6.7-2)


-----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@byu.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]