msys2 / msys2.github.io

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

/usr/bin/pacman: Permission denied after initial pacman -Syu #168

Closed Tomblarom closed 2 years ago

Tomblarom commented 3 years ago

I used this official guide from msys2.org to install MSYS2. Unfortunately I'm not able to proceed with any further steps of this guide. Sucessfully run pacman -Syu and terminated the terminal: 2021-11-23 14_05_57-~

After that I'm not able to use pacman again: 2021-11-23 14_06_39-~

I already tried:


OS: Windows 10 - 2004 (19041.1288) Setup: msys2-x86_64-20210725.exe

Biswa96 commented 3 years ago

Make sure that there is no antimalware or antivirus program including Windows Defender is blocking the process.

Tomblarom commented 3 years ago

@Biswa96 which file should I watch out for? Yes I'm in a work environment and we use Cisco Secure Endpoint, but are you sure that's related?

lazka commented 3 years ago

For such trigger happy scanners it's usually best to exclude the whole MSYS2 directory.

Tomblarom commented 3 years ago

Used an excluded folder and it seems, that it's not blocking anymore.

lazka commented 2 years ago

Closing in favor of #199