mirror of https://github.com/1Panel-dev/1Panel
parent
1cf3a0143c
commit
001c896eed
|
@ -356,6 +356,7 @@ func (b *BaseApi) UploadFiles(c *gin.Context) {
|
|||
global.LOG.Error(e)
|
||||
continue
|
||||
}
|
||||
_ = os.Chown(dstDir, uid, gid)
|
||||
}
|
||||
tmpFilename := dstFilename + ".tmp"
|
||||
if err := c.SaveUploadedFile(file, tmpFilename); err != nil {
|
||||
|
|
Loading…
Reference in New Issue