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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=O58nr1/8HHEmcaaX
	zK11ta2zjLY5F4JBiQFisHYb6J40sY2BwcvvUpq+ffIX5ZN0Vj6Szdc1eaAI/hXh
	I8VMWwuZwm9qajy2RFKEDTWOrW8fBDOPCnf+8TsHxCeAqlMyRCKGCPiY4PomOlE3
	EDOdz8xw73YEXfepoAMEQMIXRdk=
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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=GRfTU22Vb6J9qgfgQozc9y
	7Sfys=; b=L6/WysIE1cImyNhYJd3ajrV4sHHfEXije+UxHzgc1tfQMm0Pklk1m0
	Kg+SS1cv/L14mRB42pBVOlrNH8MSX8mS/P69SAhbnrqYGjpM2LCCwgcjF7773fwp
	ilowkeEdAo2HCTYamInE8O+I+SdwmiKZiZg9xT6hXgShJe2Sg60Sg=
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: No, score=-2.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*MI:sk:dc0410d, business, H*F:D*se, H*Ad:D*se
X-HELO: mail.lysator.liu.se
Subject: Re: File create problem
To: cygwin@cygwin.com
References: <dc0410db-504a-fa41-8909-575cbf4d4006@lysator.liu.se>
From: Peter Rosin <peda@lysator.liu.se>
Message-ID: <41079fab-88f8-5381-495f-de659f56c6ff@lysator.liu.se>
Date: Thu, 25 Aug 2016 17:29:32 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <dc0410db-504a-fa41-8909-575cbf4d4006@lysator.liu.se>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

Hi again!

Ok, I "solved it" by reinstalling AVG. No idea why that helped...

Buggy PoS.

Cheers,
Peter

On 2016-08-25 15:54, Peter Rosin wrote:
> Hi!
> 
> I have the strangest of problems. Freshly downloaded setup-x86_64.exe
> fails to create some files, e.g. bash.exe, with access denied. So, I
> started digging.
> 
> Trying to create bash.exe (with any random content) by other means
> also fails.
> 
> Creating other files in the C:\cygwin64\bin folder works just fine,
> e.g. C:\cygwin64\bin\bach.exe.
> 
> There is no existing C:\cygwin64\bin\bash.exe that has permissions
> that can be examined, so the only permissions that can reasonably
> have any effect are those for the folder, but as stated, it is ok
> to create e.g. C:\cygwin64\bin\bach.exe which means that folder
> permissions appear to be ok.
> 
> Renaming the existing C:\cygwin64 to C:\cygwin64old, and then
> trying to install a fresh copy in C:\cygwin64 gets the same
> permission error.
> 
> Installing bash et al with the base in C:\cygwin65 works just fine.
> 
> So, it appears that the name "C:\cygwin64\bin\bash.exe" (and a few
> others) is just special in some way.
> 
> I'm not part of any domain, and I'm on Windows 10. Rebooting
> doesn't help. Disabling AVG business edition doesn't help.
> 
> What can cause this? Can there be some hidden link to a pending
> remove? Any suggestions what I can try?
> 
> Cheers,
> Peter

--
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

