-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Existing issues matching what you're seeing
- I was not able to find an open or closed issue matching what I'm seeing
Git for Windows version
I don't know how to find that
Windows version
Windows 11
Windows CPU architecture
x86_64 (64-bit)
Additional Windows version information
Microsoft Windows [version 10.0.26100.4770]
Options set during installation
I don't know propably the default
Other interesting things
It downloaded everything and then the error appeared
Terminal/shell
Android studio
Commands that trigger the issue
I cloned a repository, and after downloading it it send me the message
Expected behaviour
That the repository would be clonned
Actual behaviour
It got me an error :
warning: failed to restrict file handles (5)
handle #0: 00000000000002ac (type 3, handle info (1) 0
handle #1: 00000000000002b4 (type 3, handle info (1) 1
handle #2: 0000000000001a40 (type 3, handle info (1) 1
This is a bug; please report it at
https://github.com/git-for-windows/git/issues/new
To suppress this warning, please set the environment variable
SUPPRESS_HANDLE_INHERITANCE_WARNING=1
C:/Program Files/Git/mingw64/libexec/git-core\git-submodule: line 7: /usr/bin/basename: Permission denied
0 [sh] sh 805 dofork: child -1 - CreateProcessW failed for 'C:\Program Files\Git\usr\bin\sh.exe', errno 13
/mingw64/libexec/git-core/git-sh-setup: fork: Permission denied
0 [sh] sh 809 dofork: child -1 - CreateProcessW failed for 'C:\Program Files\Git\usr\bin\sh.exe', errno 13
C:/Program Files/Git/mingw64/libexec/git-core/git-sh-i18n: fork: Permission denied
/mingw64/libexec/git-core/git-sh-setup: line 292: /usr/bin/uname: Permission denied
/mingw64/libexec/git-core/git-sh-setup: line 339: /mingw64/libexec/git-core/git: Permission denied