FS#66869 - [gitea] Incorrect file owner

Attached to Project: Community Packages
Opened by Maxime Wack (SataMaxx) - Tuesday, 02 June 2020, 23:43 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Monday, 12 October 2020, 18:14 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

A freshly installed gitea 1.11.5-1 won't start with the default config because /etc/gitea/app.ini doesn't have the correct owner.
Steps to reproduce: install and try to run using the systemd service.

Fix: /etc/gitea/app.ini should belong to gitea:gitea and not root:root. Changing owner fixes it.

Thanks
This task depends upon

Closed by  Bruno Pagani (ArchangeGabriel)
Monday, 12 October 2020, 18:14 GMT
Reason for closing:  Works for me
Additional comments about closing:  The tmpfiles is supposed to fix permissions.
Comment by Bruno Pagani (ArchangeGabriel) - Friday, 07 August 2020, 08:37 GMT
Are you still having this issue with latest version? That file is supposed to be 0660 root gitea.
Comment by Maxime Wack (SataMaxx) - Wednesday, 02 September 2020, 14:06 GMT
In the latest version (1.12.3-1), there is no issue anymore with file permissions.
However, residual files from a previous installation (/etc/gitea/*, /var/lib/gitea/*, and /var/log/gitea/*) can cause file permission problems.
Comment by Maxime Wack (SataMaxx) - Wednesday, 02 September 2020, 14:43 GMT
In the latest version (1.12.3-1), there is no issue anymore with file permissions.
However, residual files from a previous installation (/etc/gitea/*, /var/lib/gitea/*, and /var/log/gitea/*) can cause file permission problems.
Comment by Maxime Wack (SataMaxx) - Wednesday, 02 September 2020, 14:44 GMT
In the latest version (1.12.3-1), there is no issue anymore with file permissions.
However, residual files from a previous installation (/etc/gitea/*, /var/lib/gitea/*, and /var/log/gitea/*) can cause file permission problems.
Comment by Maxime Wack (SataMaxx) - Wednesday, 02 September 2020, 14:45 GMT
(sorry for the triple post, simply reloading the page in qutebrowser posts the same comment again and again ^^)

Loading...