MSYS2-packages
MSYS2-packages copied to clipboard
Problem: git-remote-http.exe and git-remote-https.exe: requires permission to perform this action to copy
I'm running a Windows 11 laptop running MSYS2. Upon doing pacman -S git
, it is unable to copy git-remote-http.exe and git-remote-https.exe. I also tried copying it manually, but that also fails, saying that it requires permission to perform this act. The msys64 folder is clearly whitelisted from Avast Antivirus detection, and made sure that every user has permission for this folder, it doesn't work. I'm starting to suspect that a bug is in cause. Some help would be appreciated. Thanks.
Just to confirm a few things
- Where is msys2 installed (is it in
C:\msys64
for example)? - How did you install it? Was it using the .exe installer or tar unpack?
- Is the location it's installed on a local drive or a smb or nfs share?
- In
C:\msys64
, indeed - MSYS2, the latest version, was installed using the .exe installer.
- It's on the main C: drive.
Can you try downloading either the .sfx.exe or .tar.xz from http://repo.msys2.org/distrib/ and unpacking it to somewhere else and see if you can run the msys2 shell and run pacman from there? I'm trying to determine if it's an issue with running msys2 from the top-level folder of your C drive or if it's msys2 itself that doesn't allow you to run pacman to install git
Only git-remote-http.exe and git-remote-https.exe did not copy, the other files from git-core had no problem, I forgot to clarify.
Oh, that's even weirder then.
@avachon100510 The tortoisegit program running in the background may be a problem.