This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: File create problem
- From: Tobias Zawada <i_inbox at tn-home dot de>
- To: Peter Rosin <peda at lysator dot liu dot se>, cygwin at cygwin dot com
- Date: Thu, 25 Aug 2016 16:38:10 +0200 (CEST)
- Subject: Re: File create problem
- Authentication-results: sourceware.org; auth=none
- References: <dc0410db-504a-fa41-8909-575cbf4d4006@lysator.liu.se>
Hello Peter,
>
> 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.
>
This really looks like a problem with an antivirus program.
I had a similar issue ome time.
Might it be that bash.exe has been moved to some container of the anti-virus
program?
> I'm not part of any domain, and I'm on Windows 10. Rebooting
> doesn't help. Disabling AVG business edition doesn't help.
Often disabling does not help.
One has to prevent the starting of the anti virus program.
With best regards,
Tobias
--
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