Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting UID / PID can have big issues on shared servers #23

Closed
Webrow opened this issue Feb 9, 2021 · 4 comments
Closed

Setting UID / PID can have big issues on shared servers #23

Webrow opened this issue Feb 9, 2021 · 4 comments

Comments

@Webrow
Copy link

Webrow commented Feb 9, 2021

Hey,

Setting UID / PID can have major issues (in my case all files of the server are owned by another user, if you are not able to sudo you will be unable to chown the files. Might it be an idea to introduce a user created in the alpine image and from there connect it. Yes itll cause write / read issues during copying of savegames into temp, but isnt that how it is supposed to work (or maybe use whoami to determine who is building the Dockerfile instead of hardcoding it?)

@MattPark
Copy link

MattPark commented Feb 9, 2021

It's fixed in latest. See #16. You can set to whatever you need to using PGID/PUID env variable

@Webrow
Copy link
Author

Webrow commented Feb 9, 2021

Hey Matt, its not regarding the matter that its fixed, just that it defaults to 1000. 1000 is not always your own user, and knowing it later on can cause bigger issues. (I assume 1000 was chosen cause often its the first user). Nevertheless its a nitpick. Ill close it!

@Webrow Webrow closed this as completed Feb 9, 2021
@MattPark
Copy link

MattPark commented Feb 9, 2021

Yeah I mean I see your point though. 1000:1000 was not a real user or group on my system. The ideal default should probably be the result of id -u and id -g ... not a huge deal since this fix gives everyone the option whereas option was missing before.

@Webrow
Copy link
Author

Webrow commented Feb 9, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants