Skip to content

Wheels are created with too strict permissions #804

Description

@matinh

When I run flit build I get a wheel and a source tarball. The tarbar has permissions 0644 ('-rw-rw-r--'), which matches my umask. However, the wheel has permissions 0600 (-rw-------), which is (IMHO) to strict, as other users are not able to read the wheel.

Hatch had a similar isse and I guess flit has the same reasons behind this issue.

If the current permissions are by intention, please explain why and maybe document this somewhere (or point me to existing docs, which I couldn't find).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions