Comments (8)
The PUID and PGID need to be set to the same user that owns the directory on the host, you can find out the user with:
ls -l /volume1/Waclan/게임/스위치
Then you can find the UID and GID with id <user>
. Setting those in the docker-compose should fix your permission issue.
from ownfoil.
The PUID and PGID need to be set to the same user that owns the directory on the host, you can find out the user with:
ls -l /volume1/Waclan/게임/스위치
Then you can find the UID and GID with
id <user>
. Setting those in the docker-compose should fix your permission issue.
Yes, but my id is 1026, but the error persists even if I set the PUID to 1026.
Setting PUID to 0 also results in permission error. Is there a possibility that it is a PGID problem?
from ownfoil.
You shouldn't set the PUID to 0, the container is made to run as a non root user.
The GID is also given by the id <user>
, so you can try to set it as well.
Can you exec into the container and check the permission/owner of the /games directory? Please post the output of the following commands:
docker exec -it ownfoil bash
ls -l /games
from ownfoil.
Unable to execute the command because the container could not be executed due to a permission error.
I tried to set the GID to [100,101,65539] that came out when I ran id, but it didn't work.
from ownfoil.
Right, first override the container entrypoint by adding to the docker-compose:
ports:
- "268:80"
entrypoint: "sleep infinity"
and then
docker-compose up -d
docker exec -it ownfoil bash
ls -l /games
from ownfoil.
I'm having a similar issue. I'm using Unraid, which uses 99:100 (nobody:users) for shared directories. Setting the PUID:PGID to 99:100 results in the following error:
addgroup: gid '100' in use
chown: unknown user/group app:app
sudo: unknown user app
sudo: error initializing audit plugin sudoers_audit
Interestingly enough, the shop_config and shop_template files are copied over before the docker dies. If I set the PGID/UD to 1000:1000, the container will start the but the generated shop.json and shop.tfl, while generated, are owned by app:app which is unreadable by any user. Accessing the shop via the Switch just shows empty folders. The log only shows a simple GET /.
Any ideas?
from ownfoil.
I think I've figured out what happens, it's just that the base image (python-alpine) already has existing user that we are trying to add.
Can you please try the image a1ex4/ownfoil:fix-permission
? It should now handle this case and work as is.
from ownfoil.
ownfoil:fix-permission
This has fixed this issue, thanks!
from ownfoil.
Related Issues (20)
- How to configure so I can see the games in the left menu
- Ownfoil V2 testing HOT 1
- [version 2] the new game not show on list HOT 7
- Collaborations open?
- ownfoil:v2 Unable to read json file HOT 8
- No games visible, only the two .toml files? HOT 3
- Ownfoil GUI vs Tinfoil HOT 4
- V2 ERR_EMPTY_RESPONSE HOT 1
- Gdrive file recognition in shop.tfl HOT 1
- V2 AttributeError HOT 2
- HTTPS / SSL native configuration HOT 1
- V2 can´t start ownfoil container HOT 17
- Synology DS1522+ HOT 5
- Save manager error HOT 3
- [request] Gdrive/Drop Box implementation
- Prod.keys doesn't work HOT 7
- Permission Error in logs and WebUI HOT 5
- Docker just breaks windows HOT 1
- just wanted to say tank you
- /games/index.html is not found HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ownfoil.