This is the mail archive of the
mailing list for the Cygwin project.
Re: Native symlinks and setup.exe
- From: Linda Walsh <cygwin at tlinx dot org>
- To: cygwin at cygwin dot com
- Date: Tue, 04 Oct 2016 12:21:28 -0700
- Subject: Re: Native symlinks and setup.exe
- Authentication-results: sourceware.org; auth=none
- References: <CAPTiy3O9eEhdgWcdEKkY=Egd+_8WJtxOc6WXjhecr9Dufirstname.lastname@example.org> <email@example.com> <CAPTiy3NY7oB0g4fg_nmsF8YzzPRdMh2aFnezy5ceoKiM8UWW8w@mail.gmail.com> <firstname.lastname@example.org>
Thorsten Kampe wrote:
Tar's task is to unpack what's in the archive. So converting is out
of question. You can ask the maintainer of the affected packages to
create the symlinks in the postinstall script.
Is it a "special" tar, or is it the normal version of tar that
runs under Cygwin?
I would assume that the install scripts run under the cygwin-environment.
That includes paying attention to the global value of CYGWIN.
If you set CYGWIN in your windows environment variables (recommended),
then it will always be set before any cygwin or setup program runs.
Setup isn't going to explicitly clear CYGWIN of its values, unless
they *happen* to be "invalid" -- and even then, I doubt it would modify
the user-set value of CYGWIN.
When I install programs, tar has always honored the global value of
CYGWIN I set in the system env vars. (System is recommended over
User Env, since cygwin can run as multiple users, and if you want
consistent cygwin operation, you should set it before any cygwin
processes have started.
Is someone claiming that values in the System-Env var CYGWIN are
ignored by programs being installed?
NOTE: it is known and considered a "feature", that Cygwin ignores
MS-mountpoints mounted with mountd or linkd (link directory) and
treats them as symlinks. This prohibits user control and redirection
of installed programs and disables the linux equivalent of
mount --bind "thisdir" "onthisdir".
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple