You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed several people running into issues related to permissions, none of which are resolved. It might be a good idea to keep all communication in a single thread.
I noticed that purging the factoriotools image and re-pulling temporarily solved the permission issues. However after a while saving the game kept failing.
What I noticed is that even after running sudo chown -R 845:845 factorio_folder some files would be owned by user 100844 instead of 845 (run ls -la in the factorio folder and check the 3rd and 4th column). After chowning all files to user 100844 it does seem to work (for now).
I am running NixOS with docker-compose with docker in rootless mode.
The text was updated successfully, but these errors were encountered:
I've had a look, and have two observations. I'm not super up to date with Docker best practices, but they didn't match my understanding. Maybe someone can explain, or maybe they could indicate a solution.
I see the Dockerfile manually creates a user, but didn't see a USER instruction in the Dockerfile. Isn't that required?
Is it necessary for the account that runs the Factorio file to chown all files?
I can imagine this would be necessary for a zero-config option, but I suspect that's causing issues with systems that have other ways of configuring permissions. On my machine I need my user to retain ownership of the files, but I do grant read/write permissions to the Factorio user.
I noticed several people running into issues related to permissions, none of which are resolved. It might be a good idea to keep all communication in a single thread.
I noticed that purging the factoriotools image and re-pulling temporarily solved the permission issues. However after a while saving the game kept failing.
What I noticed is that even after running
sudo chown -R 845:845 factorio_folder
some files would be owned by user100844
instead of 845 (runls -la
in the factorio folder and check the 3rd and 4th column). After chowning all files to user 100844 it does seem to work (for now).I am running NixOS with docker-compose with docker in rootless mode.
The text was updated successfully, but these errors were encountered: