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; q=dns; s=default; b=Odlef/M
	ZloaXB66ytcD++ynVKp11Q2fpMK26CfLaeUJpte0s6zgAaztegeOYjR4gtocb9eu
	Jxhuws/5RSWxeXRkieM2tE0W707iGVE2FhouQh6auoHnnv4GuNpi2//b4osuri9Z
	R283/flgz6MLdMZehunGIaNqlyBJgEB4yxOs=
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; s=default; bh=DfguOnFlSyhW3
	c92fa7Z4aHlsXI=; b=hRFcfpoeawaCm4S1i9a75WCPHvbiqZoDYUUxXlNR4aNV0
	/5stSc3FbTa5GiCql/gOXg2Aikfd8kT6nc/qphzVAGJtY2Cyz90AnX+pIeH5Hi2S
	niX1iHbdWBnkZHKWf/4LcdzRuQYk+OzWVZrT6J+LY/BsCsp7z9EaS58xkfzcNQ=
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.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Rosin, rosin, antivirus
X-HELO: mail-lf0-f54.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;        bh=G+Ru1gWxeRW84u6lSv9ZW9i3rbxoPbsNqt9ETotqo5s=;        b=HZcwYkrYF8iXadMYhUAHrvDJ5kmwP1P/BxV311V0EKK4vAyM0P9M5qHKd/jqRdoQPy         jQ1hOoTd+77Gkt863bVJxSJUrlL+p34AxvGGg7CEuGv9pw/EvALHigsAwHYIprDOr9Iv         gUqXveoo4kJdGWbCjeHBxAnBBANVzrHVFVQATe8eRN+5jkhCGvX9puwFyG4fiWEWDwCk         gfZKcfBTDemgmd+QBlpM+OMRXDcGpIUiGyxUSRtxb6FQGu3t3dabr93185l21+hbl49U         r/PYbiljCcW3LBFvduvzPaoRZrAw5Jpqdu9PrNLLM9z3WLr7S3QcZ4Chno6amYQ2wQjE         g3Uw==
X-Gm-Message-State: AEkooutfL8avA51PHHnzM8v2VGwSSjL9yVW/AAIu2Cx1qFhXsdARifojTluhw6Jq/E82802hLjK95ZS+AoHK1A==
X-Received: by 10.46.32.68 with SMTP id g65mr2597105ljg.51.1472136510315; Thu, 25 Aug 2016 07:48:30 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <dc0410db-504a-fa41-8909-575cbf4d4006@lysator.liu.se>
References: <dc0410db-504a-fa41-8909-575cbf4d4006@lysator.liu.se>
From: Erik Soderquist <ErikSoderquist@gmail.com>
Date: Thu, 25 Aug 2016 10:48:29 -0400
Message-ID: <CACoZoo1xyKQ+40yyD5P3mBwQFb+Q=7tdYUoctY1=jbaDn7uG2g@mail.gmail.com>
Subject: Re: File create problem
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

On Thu, Aug 25, 2016 at 9:54 AM, Peter Rosin  wrote:
> 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.



I suggest checking the anti-virus logs for blocking of 'pups'
(Potentially Unwanted Programs)

I have found many antivirus packages will explicitly block certain
patterns unless they are told in advance to exclude from blocking, and
even then will sometimes block.  The netcat binaries are blocked
particularly often...

Also, if you can, try installing in disposable VMs, one with and one
without the antivirus.  If you get the same results with the same
antivirus in the VM and it works fine in the VM without the antivirus,
you've confirmed it is definitely the antivirus even if the antivirus
does not log that it is doing so.

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

