Open jecoteco opened 11 months ago
did you add this to the docker-compose file?
environment:
- PUID=1000
- GUID=1000
please check that the current user is in admin group and also in docker group and re create the container
I'm currently using Docker desktop for windows, can you help me out in the procedure to do that.
sure :) join on discord at mobihen.com and ill try my best when available (around 20 pm)
@jecoteco make sure the /games
folder exists and that you have
- PUID=1000
- GUID=1000
or
-e PUID=1000
-e GUID=1000
in docker compose/run
The /games folder exists and creates shop_config.toml and shop_template.toml but I don't have write access to it.
I did add - PUID=1000 - GUID=1000 to container. But still do not have write privileges. I gave the program admin privileges already.
Are there any conditions for the container to work, example: running on internal or external usb drive, permissions for anti virus, admin privileges in windows. Reasons why puid and guid would not work?
Fixed in the rewrite of Ownfoil where permission issues is no longer a thing, see #43.
There is no clear indication on how to change permissions.
2023-08-08 16:51:35 2023-08-08 20:51:35,679 - INFO gen_shop: Found 0 directories, 0 game/save files 2023-08-08 16:51:35 2023-08-08 20:51:35,679 - ERROR gen_shop: Failed to write /games/shop.json, error was: 2023-08-08 16:51:35 [Errno 13] Permission denied: '/games/shop.json' 2023-08-08 16:51:35 2023-08-08 20:51:35,680 - ERROR gen_shop: Failed to write /games/shop.tfl, error was: 2023-08-08 16:51:35 [Errno 13] Permission denied: '/games/shop.tfl' 2023-08-08 16:51:35 2023-08-08 20:51:35,680 - INFO apscheduler.executors.default: Job "Generate shop (trigger: interval[0:05:00], next run at: 2023-08-08 20:56:35 UTC)" executed successfully
cant find any directions to change permissions.