You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/storage
zeripath 56bded9d8d
Local storage should not store files as executable (#22162) (#22163)
Backport #22162

The PR #21198 introduced a probable security vulnerability which
resulted in making all storage files be marked as executable.

This PR ensures that these are forcibly marked as non-executable.

Fix #22161

Signed-off-by: Andrew Thornton <art27@cantab.net>

Signed-off-by: Andrew Thornton <art27@cantab.net>
2 years ago
..
helper.go Add an abstract json layout to make it's easier to change json library (#16528) 4 years ago
local.go Local storage should not store files as executable (#22162) (#22163) 2 years ago
local_test.go Clean paths when looking in Storage (#19124) 3 years ago
minio.go Clean paths when looking in Storage (#19124) 3 years ago
storage.go Add more linters to improve code readability (#19989) 3 years ago