This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: File create problem

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

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

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]