-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gitea --help fails #25938
Labels
Comments
A workaround is to set
This will work, but will also create the folders |
I also noticed that there is a |
jolheiser
pushed a commit
that referenced
this issue
Jul 18, 2023
The "creating dir/file during load config" is a longstanding and complex problem. This PR only does a quick patch, it still needs more refactorings in the future. Fix #25938
wxiaoguang
added a commit
to wxiaoguang/gitea
that referenced
this issue
Jul 18, 2023
The "creating dir/file during load config" is a longstanding and complex problem. This PR only does a quick patch, it still needs more refactorings in the future. Fix go-gitea#25938
lafriks
pushed a commit
that referenced
this issue
Jul 18, 2023
project-mirrors-bot-tu bot
pushed a commit
to project-mirrors/forgejo-as-gitea-fork
that referenced
this issue
Jan 23, 2025
…itea#25957) Backport go-gitea#25944 The "creating dir/file during load config" is a longstanding and complex problem. This PR only does a quick patch, it still needs more refactorings in the future. Fix go-gitea#25938 (cherry picked from commit 5c3662b)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Running
gitea --help
will fail to show the help message if I don't have write permissions to the folder:Gitea Version
1.20.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.25.1
Operating System
Linux amd64 (Ubuntu 20.04)
How are you running Gitea?
Downloaded the official binary
Database
None
The text was updated successfully, but these errors were encountered: