Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

Commit

Permalink
migrations directory should not be created 0777
Browse files Browse the repository at this point in the history
  • Loading branch information
phemmer committed Nov 10, 2015
1 parent b9ffb19 commit 6f8d8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/goose/cmd_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func createRun(cmd *Command, args ...string) {
log.Fatal(err)
}

if err = os.MkdirAll(conf.MigrationsDir, 0777); err != nil {
if err = os.MkdirAll(conf.MigrationsDir, 0750); err != nil {
log.Fatal(err)
}

Expand Down

0 comments on commit 6f8d8a6

Please sign in to comment.