1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 00:54:28 +00:00
gitea/modules/storage
Nulo (he/him) cca189ef97
Save files in local storage as umask (#21198)
Go creates temporary files as 600, but sometimes we want the group to be able to read them (for example,
for another user to back up the storage)

This PR applies the umask to the renamed tmp files in local storage.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-09-24 21:04:14 +08:00
..
helper.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
local_test.go Clean paths when looking in Storage (#19124) 2022-03-22 17:02:26 -04:00
local.go Save files in local storage as umask (#21198) 2022-09-24 21:04:14 +08:00
minio.go Clean paths when looking in Storage (#19124) 2022-03-22 17:02:26 -04:00
storage.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00