change default file permission to 0775

This commit is contained in:
Acconut 2015-02-06 22:07:53 +01:00
parent 29100e3b5b
commit e951dc39d3
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ import (
"github.com/tus/tusd/uid" "github.com/tus/tusd/uid"
) )
var defaultFilePerm = os.FileMode(0666) var defaultFilePerm = os.FileMode(0775)
// See the tusd.DataStore interface for documentation about the different // See the tusd.DataStore interface for documentation about the different
// methods. // methods.

View File

@ -9,7 +9,7 @@ import (
func main() { func main() {
if err := os.MkdirAll("./data/", os.FileMode(0666)); err != nil { if err := os.MkdirAll("./data/", os.FileMode(0775)); err != nil {
panic(err) panic(err)
} }