Cannot start snap unable to access /etc/gitconfig #5905

Closed
opened 2025-11-02 06:39:55 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @wmutschl on GitHub (Aug 27, 2020).

  • Gitea version (or commit ref): v1.12.3
  • Git version: v1.12.3
  • Operating system: Ubuntu 20.04
  • Database (use [x]): Don't know as it does not start
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Hi, I am not able to run the snap of Gitea as I am getting a permission error on /etc/gitconfig. Below is a screenshot of my commands:

Screenshots

Gitea Snap bug

Originally created by @wmutschl on GitHub (Aug 27, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): v1.12.3 - Git version: v1.12.3 - Operating system: Ubuntu 20.04 - Database (use `[x]`): Don't know as it does not start - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description Hi, I am not able to run the snap of Gitea as I am getting a permission error on `/etc/gitconfig`. Below is a screenshot of my commands: ## Screenshots ![Gitea Snap bug](https://user-images.githubusercontent.com/36013296/91400255-a2322380-e83f-11ea-82d7-9ac848ec097d.png)
Author
Owner

@wmutschl commented on GitHub (Aug 27, 2020):

Okay, I removed /etc/gitconfig and now it works.

@wmutschl commented on GitHub (Aug 27, 2020): Okay, I removed `/etc/gitconfig` and now it works.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5905