Skip to content
This repository has been archived by the owner on Apr 12, 2019. It is now read-only.

gitea 1.6.3 and 1.7 throws no error if the repositories dir doesn't have write permissions #140

Open
vampirefrog opened this issue Jan 12, 2019 · 1 comment

Comments

@vampirefrog
Copy link

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
Copy link
Member

lunny commented Jan 12, 2019

Is this related with go-gitea/git ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants