msys2 / msys2.github.io

The MSYS2 homepage
https://www.msys2.org
Other
2.18k stars 280 forks source link

Issues installing caused by Windows Security #303

Open tadghh opened 6 months ago

tadghh commented 6 months ago

Issuing installing Msys2 error 254 this is for SEO image

Biswa96 commented 6 months ago

Have you tried to exclude the installation directory in antivirus or antimalware software?

tadghh commented 6 months ago

This issue was encountered here too https://github.com/appveyor/ci/issues/3777

Workaround

Script

See this link, it looks like it disables the required protections for only Msys2

Manual

Go-to Windows Security -> App and browser control -> Exploit protection

Need to keep the following disabled

Notes

requiring systems to disable these settings could harm the adoption of Msys2.

MehdiChinoune commented 6 months ago

AFAIK ASLR is not enabled by default on Windows.

tadghh commented 6 months ago

AFAIK ASLR is not enabled by default on Windows.

This is correct, however with this "issue" the user base who require those features are being cut off imo.

MehdiChinoune commented 6 months ago

This is correct, however with this "issue" the user base who require those features are being cut off imo.

We can do nothing about it, While MinGW-w64 (native Windows) packages were built with ASLR enabled https://www.msys2.org/news/#2021-01-31-aslr-enabled-by-default. but unfortunately CygWin (Which MSYS environment is based on) has some issues with it. There were some reports like yours before, like this https://github.com/msys2/MSYS2-packages/issues/3925 see also: https://cygwin.com/pipermail/cygwin/2020-March/244106.html https://cygwin.com/pipermail/cygwin/2020-August/245973.html

tadghh commented 6 months ago

This is correct, however with this "issue" the user base who require those features are being cut off imo.

We can do nothing about it, While MinGW-w64 (native Windows) packages were built with ASLR enabled https://www.msys2.org/news/#2021-01-31-aslr-enabled-by-default. but unfortunately CygWin (Which MSYS environment is based on) has some issues with it. There were some reports like yours before, like this msys2/MSYS2-packages#3925 see also: https://cygwin.com/pipermail/cygwin/2020-March/244106.html https://cygwin.com/pipermail/cygwin/2020-August/245973.html

Hopefully someday it will be fixed :)