mirror of
https://github.com/go-gitea/git.git
synced 2026-07-18 20:44:38 -04:00
[GH-ISSUE #140] gitea 1.6.3 and 1.7 throws no error if the repositories dir doesn't have write permissions #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vampirefrog on GitHub (Jan 11, 2019).
Original GitHub issue: https://github.com/go-gitea/git/issues/140
Hello, I have struggled to get gitea working, I had stopped when pushing, right after the
Total 489 (delta 214), reused 0 (delta 0)line, it was stalling. I tried looking in the logs but there was no error or anything, so it took me a few hours to figure it out, but the repositories directory wasn't owned by the same user as the gitea executable was running as.Please add some sort of warning for users who might struggle with this.
I guess to reproduce, you'd chown root:root the repositories directory and try to do a push. For me, it was also a new repository, and I was pushing an existing repository with existing commits. I don't know if that makes a difference or not.
Thanks, cheers.
@lunny commented on GitHub (Jan 12, 2019):
Is this related with go-gitea/git ?
gitea 1.6.3 and 1.7 throws no error if the repositories dir doesn't have write permissionsto [GH-ISSUE #140] gitea 1.6.3 and 1.7 throws no error if the repositories dir doesn't have write permissions