parent
fbf378547e
commit
96d9e5bbd4
|
@ -25,7 +25,7 @@ func CreateComposer() {
|
|||
dir := Flags.UploadDir
|
||||
|
||||
stdout.Printf("Using '%s' as directory storage.\n", dir)
|
||||
if err := os.MkdirAll(dir, os.FileMode(0775)); err != nil {
|
||||
if err := os.MkdirAll(dir, os.FileMode(0774)); err != nil {
|
||||
stderr.Fatalf("Unable to ensure directory exists: %s", err)
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ import (
|
|||
"github.com/nightlyone/lockfile"
|
||||
)
|
||||
|
||||
var defaultFilePerm = os.FileMode(0775)
|
||||
var defaultFilePerm = os.FileMode(0664)
|
||||
|
||||
// See the tusd.DataStore interface for documentation about the different
|
||||
// methods.
|
||||
|
|
Loading…
Reference in New Issue