Skip to content

Commit

Permalink
When creating directories for 'get', create them as 0755.
Browse files Browse the repository at this point in the history
Fixes #9.
  • Loading branch information
colinmarc committed Feb 25, 2015
1 parent d554210 commit 7306883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/hdfs/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func get(args []string) {
fullDest := filepath.Join(dest, strings.TrimPrefix(p, source))

if fi.IsDir() {
err = os.Mkdir(fullDest, 0644)
err = os.Mkdir(fullDest, 0755)
if err != nil {
fatal(err)
}
Expand Down

0 comments on commit 7306883

Please sign in to comment.