1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
gitea/modules/storage
zeripath a89b399faa
Local storage should not store files as executable (#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>
2022-12-19 08:50:36 +08:00
..
helper_test.go Skip initing disabled storages (#21985) 2022-11-30 21:39:02 +08:00
helper.go Skip initing disabled storages (#21985) 2022-11-30 21:39:02 +08:00
local_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
local.go Local storage should not store files as executable (#22162) 2022-12-19 08:50:36 +08:00
minio.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
storage.go Skip initing LFS storage if disabled (#21996) 2022-12-01 11:02:04 +02:00