Problem with permisions #5469

Closed
opened 2025-11-02 06:25:46 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @y0rune on GitHub (May 28, 2020).

  • Gitea version (or commit ref): Gitea version 1.11.5
  • Git version: git version 2.26.2
  • Operating system: Gentoo
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

...

Screenshots

image

image

Originally created by @y0rune on GitHub (May 28, 2020). - Gitea version (or commit ref): Gitea version 1.11.5 - Git version: git version 2.26.2 - Operating system: Gentoo - Database (use `[x]`): - [ ] PostgreSQL - [X] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [X] No - [ ] Not relevant - Log gist: ## Description ... ## Screenshots ![image](https://user-images.githubusercontent.com/10187235/83140545-860ed100-a0ee-11ea-95a8-bea7a6ec648a.png) ![image](https://user-images.githubusercontent.com/10187235/83140714-ccfcc680-a0ee-11ea-931a-731d4862e253.png)
GiteaMirror added the issue/needs-feedback label 2025-11-02 06:25:46 -06:00
Author
Owner

@jolheiser commented on GitHub (May 28, 2020):

We might need a scrubbed config if possible and maybe some log errors.

Permission denied is usually a pretty straightforward error, though.

Are you running Gitea with the git user? Furthermore, based on the perms screenshot, the git user only has read access to those directories. It will need write access for operations with the repositories, indexers, etc.

@jolheiser commented on GitHub (May 28, 2020): We might need a scrubbed config if possible and maybe some log errors. Permission denied is usually a pretty straightforward error, though. Are you running Gitea with the `git` user? Furthermore, based on the perms screenshot, the `git` user only has read access to those directories. It will need write access for operations with the repositories, indexers, etc.
Author
Owner

@y0rune commented on GitHub (May 28, 2020):

Yeah I used the git user but now I move to 'normal gitweb'

@y0rune commented on GitHub (May 28, 2020): Yeah I used the git user but now I move to 'normal gitweb'
Author
Owner

@y0rune commented on GitHub (May 29, 2020):

After contact with the maintainer, he give me advise about using the binary and yeah binary solved everything.

@y0rune commented on GitHub (May 29, 2020): After contact with the maintainer, he give me advise about using the binary and yeah binary solved everything.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5469