Skip to content

Running as non-root causes errors when the startup scripts try to "fix" permissions #133

Description

@girlpunk

Running the container as a user other than root (as highly recommended for security reasons) results in several errors as the various startup scripts attempt to "fix" permissions, causing more issues as a result.

The causes of this appear to be:

Additionally, the UID and GID environment variables are not defined, however setting them in attempt to resolve the above issues simply causes more errors.

groupmod -o -g "$GID" www-data

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions