Skip to content

write megalinter-reports as current user instead of root #2594

Description

@gbrandt1

i think it's quite annoying and unneccessary that megalinter-reports/ gets written as the root user.
especially for users that don't have sudo rights to fix it.
i guess this comes from running the docker container as root and ignoring the current user.

it would be better to either run as the current user, or change the owner of megalinter-reports to the current user by default.

a --user option should be added to mega-linter-runner.

cheers,
gerhard

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

    O: stale 🤖This issue or pull request is stale, it will be closed if there is no activityenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions