Now your ark user should be able to access the files as it is in the ark (1001) GUID. The gameserver user in the container can still access its own files as they are owned by SUID 25000.
Now I can SFTP into the ark user at folder /home/ark and make changes to the server configuration there instead.
Since the Docker image runs under user
25000:25000
, we need to make sure that user can still access the files.My updated
docker-compose.yaml
whereark
user has SUID 1001 -Moving the original volumes.
Assigning the correct folder/file ownership (suid) and group (guid) permissions.
Now your
ark
user should be able to access the files as it is in theark
(1001) GUID. Thegameserver
user in the container can still access its own files as they are owned by SUID 25000.Now I can SFTP into the
ark
user at folder/home/ark
and make changes to the server configuration there instead.