-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix permissions for Mkdir call in get.go #9
Comments
Hey Adam, thanks for the report! I think you may have an old version - we set it to 0755 now: https://github.com/colinmarc/hdfs/blob/master/cmd/hdfs/mkdir.go#L27 Please let me know if I'm misunderstanding, and thanks again! |
Wait, actually, I totally did misunderstand your report! Sorry about that. I'll fix this shortly. |
Shortly was an understatement ;) Thanks a lot for this fix!
On Tuesday, February 24, 2015, Colin Marc notifications@github.com wrote:
|
Directories are currently created with a mode which makes them unusable:
cmd/hdfs/get.go: err = os.Mkdir(fullDest, 0644)
This results in drw-r--r-- perms, which are good for basically nothing :)
Please update to 0755, or better yet base it on umask setting.
Cheers!
The text was updated successfully, but these errors were encountered: