What explains this difference between v0.4 (644) and v0.5 (664)?
I don't see anything in NEWS.md.
(offhand, I agree that the v0.5 behavior makes more sense.)
AWS-Sachs-Ubuntu$ umask
002
AWS-Sachs-Ubuntu$ julia
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.4.7-pre+3 (2016-07-10 08:08 UTC)
_/ |\__'_|_|_|\__'_| | Commit eb322c0 (0 days old release-0.4)
|__/ | x86_64-linux-gnu
julia> io = open("/home/sachs/temp4", "w");
julia> oct(filemode("/home/sachs/temp4"))
"100644"
julia> exit()
AWS-Sachs-Ubuntu$ usr/bin/julia
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.5.0-dev+5260 (2016-07-10 01:41 UTC)
_/ |\__'_|_|_|\__'_| | Commit f8d67f7 (0 days old master)
|__/ | x86_64-linux-gnu
julia> io = open("/home/sachs/temp5", "w");
julia> oct(filemode("/home/sachs/temp5"))
"100664"