Permissions
The Docker image does not run as root. It runs with the user and group IDs set by PUID and PGID, both 1000 by default, and gives them ownership of the config folder at each start.
Fix “Permission denied”
Section titled “Fix “Permission denied””If you get a Permission denied error when editing the config folder from your host, your host user is not the one the container runs as.
-
Find your user and group IDs:
Terminal window id -uid -g -
Set them in your
.envfile:.env PUID=1001PGID=1001 -
Restart the container:
Terminal window docker compose up -d
On start, the container gives the folder to these IDs, and you can edit it again without sudo.
Network shares
Section titled “Network shares”If config lives on a network share (NFS, SMB) that refuses ownership changes, Razzia may not be able to write to it. In that case, run the container as root:
PUID=0PGID=0