Skip to content

Permissions error while creating directories #2

@GilOliveira

Description

@GilOliveira

In both the Debian and the Arch Linux machines I've tried running the scripts on this repo, the container hangs and loops off and on, with the logs looping on the following message:

Copying default templates
cp: can't create directory '/data/templates/': Permission denied

I've managed to fix this issue on my side by editing the Dockerfile so that line 47 now reads:

USER root

And now the container runs well with no permissions issues.

I'm a Docker novice and I'm not sure if switching the USER for the container in the Dockerfile has any security disadvantages, but this was the only way I found to get the containers working.

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