Skip to content

Gitea grants 0750 rights to uploaded avatars #22161

Closed
@Izorkin

Description

@Izorkin

Description

Gitea grants 0750 rights to uploaded avatars

ls -lah /var/lib/gitea/data/avatars
total 316K
drwxr-xr-x  3 gitea gitea 4.0K Dec 18 13:33 .
drwxr-xr-x 13 gitea gitea 4.0K Dec 18 13:05 ..
-rwxr-x---  1 gitea gitea 301K Dec 18 13:33 11be58ba3ef76ecc7ff4664e077d5c62
drwxr-xr-x  2 gitea gitea 4.0K Dec 18 13:33 tmp

Required grants - 0650 0640.

Gitea Version

1.18-dev

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

NixOS

How are you running Gitea?

Using gitea module in OS NixOS.

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