delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/25/09:55:07

X-Recipient: archive-cygwin AT delorie DOT 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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=EAr
0fhYR1p7QzDL2sEWF0kd3f++SA811JF28imF+u84+r90kyMb8HMG47yVJxRqb0lD
ON3CjDJNhJ4PnZ66+Mc0nfeJVmtj0v//HKtpy6JpcKCaVabFpVM5KxYx4zbvFmLI
/ev7AiaKHFzVe9T1jqsX0S7QGc0d+QYOzpv6WQxU=
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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=y+EfoXehh
LfTesH23+7z8bDQe2E=; b=BUu19hz58ObSu9WlI1jPE7p9++KB3wJt406wEEa84
Vn3qpkHbmy6SbazMlMmQFCOc7K9OlliLNRvHGkKOsYw6rPjMUtOXpQuTCvoO4mxY
Gl9DDGuzBAgb0k17p4M03eXDZ4IPlXR2pGqNvJWoaBnnsakuT+lC+D0jPBDpmDgG
jg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=edition, Hx-languages-length:1211, examined, avg
X-HELO: mail.lysator.liu.se
To: cygwin AT cygwin DOT com
From: Peter Rosin <peda AT lysator DOT liu DOT se>
Subject: File create problem
Message-ID: <dc0410db-504a-fa41-8909-575cbf4d4006@lysator.liu.se>
Date: Thu, 25 Aug 2016 15:54:42 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019