diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-04-30 11:47:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-29 23:47:04 -0400 |
commit | d9d3f5234e45e25e3fbb922b65082770e49a58de (patch) | |
tree | 2033e78079445dba7f26c821b51d6ceabc505572 /modules/activitypub/client_test.go | |
parent | 7d7ba76c08b6f9d1d9f6fdaa945f73c243e260f9 (diff) | |
download | gitea-d9d3f5234e45e25e3fbb922b65082770e49a58de.tar.gz gitea-d9d3f5234e45e25e3fbb922b65082770e49a58de.zip |
Fix incorrect CurrentUser check for docker rootless (#24435)
Many users report that 1.19 has a regression bug: the rootless image
can't start if the UID is not 1000.
https://github.com/go-gitea/gitea/issues/23632#issuecomment-1524589213
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.
Diffstat (limited to 'modules/activitypub/client_test.go')
0 files changed, 0 insertions, 0 deletions