post-receive git hook fails because "test -x" returns incorrect exitcode #23141
Labels
issue/needs-feedback
For bugs, we need more details. For features, the feature must be described in more detail
type/bug
Description
Gitea's
post-receive
script (part of its git hook mechanism) is not executing scripts inpost-receive.d
.Its
test -x
command to check for executable files inpost-receive.d
directory always exits with code1
, even when testing a file that has executable flag set.Running in Docker, gitea 1.18.5.
May be related to alpinelinux/docker-alpine#156 and #21455.
Gitea Version
1.18.5
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Alpine in Docker 18.09.6
How are you running Gitea?
Using docker-compose as instructed by https://docs.gitea.io/en-us/install-with-docker
Database
MySQL
The text was updated successfully, but these errors were encountered: