I have come across this while working on ipfs/kubo#6920.
ipfs get currently writes files with mode perm 666, but thanks to the most common default umask, this usually results in 644, which is the default fallback specified by the UnixFS spec.
Changing ipfs get to use 644 as specified could in theory be breaking change for some with unusual umasks.
Is this something to be concerned about? Should I just use the default as specified? Or should the spec be changed? Or is there some alternative solution I am not seeing?
I have come across this while working on ipfs/kubo#6920.
ipfs getcurrently writes files with mode perm 666, but thanks to the most common default umask, this usually results in 644, which is the default fallback specified by the UnixFS spec.Changing
ipfs getto use 644 as specified could in theory be breaking change for some with unusual umasks.Is this something to be concerned about? Should I just use the default as specified? Or should the spec be changed? Or is there some alternative solution I am not seeing?