This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Installer bug with symlinks
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: Joe Krahn <krahn at niehs dot nih dot gov>
- Cc: cygwin at cygwin dot com
- Date: Mon, 07 Nov 2005 19:22:13 -0500
- Subject: Re: Installer bug with symlinks
- References: <436E71D9.3060302@niehs.nih.gov>
- Reply-to: cygwin at cygwin dot com
Joe Krahn wrote:
The installer can make a directory for new files even if there is
already an existing directory symlink of the same name.
I discovered the problem when upgrading where I had a custom X11 build.
I moved /usr/X11R6 to /usr/X11R6.dist, and made the symlink /usr/X11R6
-> /usr/X11R6.build. When updating some packages with files in
/usr/X11R6, I ended up with new files installed in /usr/X11R6 while the
symlink name of the same name still existed.
This is a known problem. 'setup.exe' doesn't grok symlinks that are like
Windows shortcuts. This is the default for Cygwin symlink creation now. But
if you want to use the style of symlink that 'setup.exe' does understand, set
'nowinsymlinks' in your CYGWIN environment variable. This will make your
symlinks in the "old style" format which 'setup.exe' understands.
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
838 Washington Street (508) 893-9889 - FAX
Holliston, MA 01746
--
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/