Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Tomblarom opened this issue Nov 23, 2021 · 5 comments
Closed

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

Tomblarom opened this issue Nov 23, 2021 · 5 comments

Comments

@Tomblarom
Copy link

Tomblarom commented Nov 23, 2021

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:

  • reinstalling and rebooting
  • running the setup and console as admin
  • Removing the lockfile with rm -f /var/lib/pacman/db.lck

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

@Biswa96
Copy link
Member

Biswa96 commented Nov 23, 2021

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

@Tomblarom
Copy link
Author

@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
Copy link
Member

lazka commented Dec 1, 2021

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

@Tomblarom
Copy link
Author

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

@lazka
Copy link
Member

lazka commented May 2, 2022

Closing in favor of #199

@lazka lazka closed this as completed May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants