Skip to content

Commit

Permalink
fix(mkf): adjust default dir permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
gm0stache committed Jan 27, 2024
1 parent 180c30e commit 959270d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/mkf/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

const (
default_dir_permissons_code = 755
default_dir_permissons_code = 0700
)

func main() {
Expand All @@ -24,7 +24,7 @@ func main() {
fmt.Printf("Error:\n%s", err.Error())
os.Exit(-1)
}
_, err = os.Create(pathComponents.Filename)
_, err = os.Create(filePath)
if err != nil {
fmt.Printf("Error:\n%s", err.Error())
os.Exit(-1)
Expand Down

0 comments on commit 959270d

Please sign in to comment.