Skip to content

UnixFS default mode perm does not match current behaviour #244

@kalmi

Description

@kalmi

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?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions