Skip to content

docs: file mode is silently converted to decimal in Ignition output (not documented) #2286

Description

@yasminvalim

Created originally in Butane by @hariprakazz: coreos/butane#733


Butane accepts mode: 0644 (octal, as written) but the generated Ignition JSON stores it as 420 (decimal) — e.g. mode: 0644 → "mode": 420. Nothing in the docs mentions this conversion, so anyone hand-writing or diffing Ignition output has to discover it by testing. Repro: any .bu file with a storage.files entry setting mode, run through butane --strict.

Happy to submit a docs PR adding a short note (and example) to docs/config.md or docs/specs.md if that's the right place — let me know which.

Metadata

Metadata

Assignees

No one assigned

    Labels

    butaneIssues originating from the Butane repository.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions