0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 18:42:49 +01: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
local_test.go
local.go Save files in local storage as umask (#21198) 2022-09-24 21:04:14 +08:00
minio.go
storage.go