Docker: can't create directory: permission denied #101

Closed
opened 2025-12-15 06:24:12 +00:00 by aarqon · 1 comment

Running either the prebuilt image or a locally built image fails with this error:

mkdir: can't create directory '/config/cdm/': Permission denied
mkdir: can't create directory '/config/logs/': Permission denied
cp: can't create '/config/config.conf': Permission denied
cp: can't create '/config/rules.json': Permission denied

The file paths suggest this error is inside the container and not on the host? It has been doing this for several versions now.

Current Version: 1.9.17
OS: Fedora 43
Docker version 29.0.4, build 1.fc43

Running either the prebuilt image or a locally built image fails with this error: ``` mkdir: can't create directory '/config/cdm/': Permission denied mkdir: can't create directory '/config/logs/': Permission denied cp: can't create '/config/config.conf': Permission denied cp: can't create '/config/rules.json': Permission denied ``` The file paths suggest this error is inside the container and not on the host? It has been doing this for several versions now. Current Version: 1.9.17 OS: Fedora 43 Docker version 29.0.4, build 1.fc43
Collaborator

Since /config is typically a volume mount, I suspect it is a permissions issue on your host.

Since /config is typically a volume mount, I suspect it is a permissions issue on your host.
melithine added the
invalid
label 2025-12-16 06:10:06 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sim0n00ps/OF-DL#101
No description provided.