Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect CurrentUser check for docker rootless (go-gitea#24435)
Many users report that 1.19 has a regression bug: the rootless image can't start if the UID is not 1000. go-gitea#23632 (comment) https://discourse.gitea.io/t/gitea-doesnt-start-after-update-to-1-19/6920/9 The problem is that the IsRunUserMatchCurrentUser logic is fragile, the "SSH" config is not ready when it executes. This PR is just a quick fix for 1.19. For 1.20, we need a clear and stable solution.
- Loading branch information