X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=X3b3Tq99T11BI7zIsvRnHMFwamsGKCBCzgQouXcdYg3
	UEd6U4oCQcxpbJOtahZrIkSUtKsy77LvomRbXy7gvkQPW8oyY/JPHjEVPvYDZtYj
	HjVRHz5VFCcBwZKtrLQ1ozbTYjG1i2/rTzsfoTqrKgjWLZekPosx5KPT8we8V/DQ
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type:content-transfer-encoding;
	 s=default; bh=DKbFxbt2h4bj3BllIl33gmU8aBw=; b=oieP53hOuT+2RCXC7
	FKVGaN8x2AWfTL257dXhvU4OWi/217pJ1v9KzXeuOA5pXEDAi5azrofzXWpgDi7Y
	oIGys/kBHWsJDx3CrxLsjsWNKnfE2B2gmeY3mMQdvsFYtoT/E0CFq8oYE+oPXEu2
	Vm2bE+YhaWT5IBu62a2z79yye4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=0.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=symptoms, drive=e2, unloaded, suspicion?=
X-HELO: mail-lf0-f48.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:sender:in-reply-to:references:from         :date:message-id:subject:to:content-transfer-encoding;        bh=b/5828SJ7igCHQRqmcwI2j0eVVCbT+fZ+qr2/CBDUtQ=;        b=Snzj06adLXKauSvXd/xY1x6iuXXJnwMegflji4Eeuv5jFxtTgnlxG6IP3JHmnMv82H         dpllc1xGBeOoRIRZPVBkfWFSX+levV0y7DWxrXK8wN/AoxLPVPZbA9+Vyyr44PoCGDmo         9qhl6nJ7UCYTISi3LtHUnoGxr9pPCppGi+z4xJ/t+Y3spoL4p4o2istsvoQGScczN2It         bxyqQJu0CE3s5jaqJd2TqBQAqpM2XEcsJGSgwyCmufTjmz0SjyHaavcBeD6hnMHmzsFn         sP0JumPilEkT8rHSgQ9jU8aEAHq4nO53V+kNstlX0ZuLQ2rINJFlr0JijSAabModF37l         jK+A==
X-Gm-Message-State: AEkoouuTvuU00fJ6G03UHVwG+oJurYbAtqsaszsgCvswDNnzUt7AibbWGDmdVy5a9fyje9qySBg7W2bn2hSVSQ==
X-Received: by 10.25.206.6 with SMTP id e6mr6345782lfg.182.1471881864557; Mon, 22 Aug 2016 09:04:24 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <be3f39ac38124a579560da6d2a4f791d@Z91OS2CE1CN2.Z91.NO.TCONET.NET>
References: <be3f39ac38124a579560da6d2a4f791d@Z91OS2CE1CN2.Z91.NO.TCONET.NET>
From: Erik Soderquist <ErikSoderquist@gmail.com>
Date: Mon, 22 Aug 2016 12:04:23 -0400
Message-ID: <CACoZoo2SwVzaDzff6RKP43tEjc=DcE2D8eCTbNNPXGxd+F5mEQ@mail.gmail.com>
Subject: Re: Trouble installing to UNC path and/or mapped network drive
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u7MG4i3r018404

On Mon, Aug 22, 2016 at 5:57 AM, Andreas Wettergren wrote:
> The computer I’m using to launch the setup from is running Windows 7 Professsional (64 - bit).
> I’m using setup-x86.exe version 2.874.

Why 32 bit rather than 64 bit in a 64 bit environment?  (more curious
than anything else, I don't think this affects the outcome).

> Antivirus (Webroot SecureAnywhere) is disabled, but not completely unloaded, during setup.
> (I have permissions to disable Webroot via a control applet, but I don’t think I’m allowed to unload it completely)

Do you have the option of creating a couple virtual machines to test
with virgin Windows installs?  That could relatively quickly determine
if it is something in the exiting environment...

> First I tried using an UNC path, but this does not work at all,
> the setup program complains that the UNC path is not an absolute path.
> (Should this be considered a bug?  If so I will rerun the setup, get the exact error message and report it separately.)

I believe this is expected, but will leave the final determination to
others with greater knowledge than I.

> To work around this, I mapped a network “drive” in Windows Explorer.
> The drive is mapped so that my target directory is Z:\Cygwin.

Did you set the drive mapping to be remembered on future logins?  If
not, a new instance after privilege elevation may also not have the
drive mapping.  (Still might not, I've had UAC/network drive mapping
problems with other programs as well).  Is disabling UAC and running
entirely as local admin to test an option?  For that matter, is
installinng on the host the installation is local to an option?

> The symptoms begin with an error saying something like “Unable to extract /etc/ -- the file is in use.” plus a suspicion about a corrupt package.
> Skipping past this error gives an almost identical error but about “/etc/postinstall”,
> and skipping that gives another about “/etc/postinstall/000-cygwin-post-install.sh”.

When was the most recent filesystems check on the host with the actual
files?  A corrupt directory tree can cause similar issues.

-- Erik

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


