Closed
Description
Summary 💡
Git-for-Windows has some exceptions for the ownership checks. The home directory is accepted unconditionally (which is owned by admin instead of the user), and admin-group-owned folders are accepted if the user is an admin (helpful in environments like Github-Actions).
Git-for-Windows references:
https://github.com/git-for-windows/git/blob/0cd1496fc3dd78dadbdf3644ec4d384188573e6f/compat/mingw.c#L3503-L3515
If this is something you would be happy to adopt, I would be happy to make a contribution
Motivation 🔦
- Allow opening repos in home directory on Windows
- Allows the check to work in GHA without extra workarounds