-
-
Notifications
You must be signed in to change notification settings - Fork 6
File Permissions
Robin Ingelbrecht edited this page Jan 30, 2025
·
1 revision
The user running in the strava-statistics container has the UID/GID 65534:100
. All of the files it touches or creates (under /var/www
) will be owned with these identifiers.
If you are running strava-statistics on a linux host and mount these directories on the host (as the example docker-compose.yml
does) then it's likely your host user will not be able to modify (or potentially read) these files without using sudo
privileges. This will also affect the crontab file, if one is used.
To fix this file permission issue, set the PUID
and PGID
variables in your .env
to equal the host user UID/GID:
-
id -u
-- prints UID -
id -g
-- prints GID'