diff --git a/docs/DOCKER_PORTAINER.md b/docs/DOCKER_PORTAINER.md index d1a08dc9..673c7757 100755 --- a/docs/DOCKER_PORTAINER.md +++ b/docs/DOCKER_PORTAINER.md @@ -46,6 +46,9 @@ services: - NET_RAW - NET_ADMIN - NET_BIND_SERVICE + - CHOWN + - SETUID + - SETGID volumes: - ${APP_FOLDER}/netalertx/config:/data/config - ${APP_FOLDER}/netalertx/db:/data/db diff --git a/docs/FILE_PERMISSIONS.md b/docs/FILE_PERMISSIONS.md index 4621607e..ccad1604 100755 --- a/docs/FILE_PERMISSIONS.md +++ b/docs/FILE_PERMISSIONS.md @@ -60,6 +60,8 @@ To run as the root user, it usually looks like this (verify the IDs on your serv ... ``` +If you use a custom `PUID` (e.g. `0`) and `GUID` (e.g. `100`) make sure you also update the `tmpfs` ownership, e.g. `/tmp:uid=0,gid=100...` + ### Solution 1. **Run the container once as root** (`--user "0"`) to allow it to correct permissions automatically: diff --git a/docs/PERFORMANCE.md b/docs/PERFORMANCE.md index b8589141..a5f7cd63 100755 --- a/docs/PERFORMANCE.md +++ b/docs/PERFORMANCE.md @@ -92,6 +92,9 @@ services: - NET_RAW - NET_ADMIN - NET_BIND_SERVICE + - CHOWN + - SETUID + - SETGID volumes: - ${APP_FOLDER}/netalertx/config:/data/config diff --git a/docs/SYNOLOGY_GUIDE.md b/docs/SYNOLOGY_GUIDE.md index 7c978e9d..1329c0c2 100755 --- a/docs/SYNOLOGY_GUIDE.md +++ b/docs/SYNOLOGY_GUIDE.md @@ -47,6 +47,9 @@ services: - NET_RAW - NET_ADMIN - NET_BIND_SERVICE + - CHOWN + - SETUID + - SETGID volumes: - /app_storage/netalertx:/data # to sync with system time