Skip to content

Make tool bin executable if not set from tarball #22

Open
@poikilotherm

Description

@poikilotherm

Is your feature request related to a problem? Please describe.

If the distributor of a tool does not ship the tool bin with executable bit set or in other circumstances, the install will fail because of the missing permission bit. A plugin developer has to add a chmod +x on its own, instead of the template already taking this burden.

Describe the solution you'd like

Instead of creating chore work, maybe not fail when exec perm check fails, but try to set +x first. If the file itself is missing due to a failed install, it will still fail, which seems fine.

Describe alternatives you've considered

Let every plugin dev stumble over package maintainers not setting an exec bit and re-iterate with adding a chmod.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions