change default file permission to 0775
This commit is contained in:
parent
29100e3b5b
commit
e951dc39d3
|
@ -16,7 +16,7 @@ import (
|
|||
"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
|
||||
// methods.
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
|
||||
func main() {
|
||||
|
||||
if err := os.MkdirAll("./data/", os.FileMode(0666)); err != nil {
|
||||
if err := os.MkdirAll("./data/", os.FileMode(0775)); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue