Skip to content
This repository was archived by the owner on Apr 12, 2019. It is now read-only.
This repository was 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

Description

@vampirefrog

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions