Skip to content

Set file permissions in documentation tarballs #5992

Description

@jtdowney

Gleam's documentation tarballs give files a mode of 0. Hex works around this, but a recent regression in that workaround caused successful documentation uploads to return 404s.

Regular Hex package entries set an explicit mode

header.set_mode(0o600);

While create_tar_archive does not call set_mode, thus it leaves the mode at zero.

It would be preferable that Gleam matched the rest of the Hex ecosystem instead of relying on a workaround to be maintained.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions