-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hooks fail silently if wrong permission #20771
Comments
You could run |
How do I run gitea doctor on gitea/gitea:dev? gitea/gitea:
gitea/gitea:dev:
Also I get this when running
|
have a try with doctor:
|
This is what I get with a clean new version of gitea/gitea:dev with nothing on it, so it has broke since the last stable version. |
according to #20114 #20293 @wxiaoguang may know this issue |
Actually, it's related to this one The I will take a look at about the config system + git module dependency. |
Thanks, tried |
Description
Hi,
Context:
I moved my Gitea files from Linux -> Windows -> Linux and lost my permissions.
Problem:
If the files in /git/repositories/username/gitrepo.git/hooks have the wrong file permissions (644 instead of 755) the hooks will fail without any errors. This breaks webhooks and no changes will be seen on the frontpage.
What I expected:
Gitea should change the permissions to the correct one or you should at least get a error message in the logs or failed delivery under
Recent Deliveries
.Gitea Version
1.18.0+dev-265-gc81b26b0e
Git Version
2.36.2
How are you running Gitea?
Running docker with the
gitea/gitea:dev
imageDatabase
PostgreSQL
The text was updated successfully, but these errors were encountered: