Skip to content

gitea --help fails #25938

Closed
Closed
@remram44

Description

@remram44

Description

Running gitea --help will fail to show the help message if I don't have write permissions to the folder:

$ /opt/gitea --help
2023/07/17 14:00:02 ...s/setting/setting.go:109:LoadCommonSettings() [F] Unable to load settings from config: unable to create chunked upload directory: /opt/data/tmp/package-upload (mkdir /opt/data: permission denied)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions