Skip to content

Avoid chmod +x when not needed #2122

@williamdes

Description

@williamdes

chmod +x "${USER_PATCHES}"

I bet a check could be added to avoid the chmod +x on each run

chmod: changing permissions of '/tmp/docker-mailserver/user-patches.sh': Read-only file system

I mount as read only the script - ${USER_PATCHES_FILE:-./user-patches.sh}:/tmp/docker-mailserver/user-patches.sh:ro

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/improvementImprove an existing feature, configuration file or the documentationpriority/low

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions