frontend: don't give too much right on created files
This commit is contained in:
parent
b31f009d2e
commit
fb1d8f90ed
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ func main() {
|
|||
|
||||
log.Println("Creating submission directory...")
|
||||
if _, err := os.Stat(TmpSubmissionDir); os.IsNotExist(err) {
|
||||
if err := os.MkdirAll(TmpSubmissionDir, 0777); err != nil {
|
||||
if err := os.MkdirAll(TmpSubmissionDir, 0700); err != nil {
|
||||
log.Fatal("Unable to create submission directory: ", err)
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue