Closed totycro closed 3 years ago
Hi!
Thanks for providing this very convenient docker image!
I just noticed a minor issue: If you specify the UID, but not the GID, then the mount actually fails. The first problem is here, where adduser fails due to GID being 0, so you get adduser: unknown group 0: https://github.com/efrecon/docker-s3fs-client/blob/master/docker-entrypoint.sh#L48
adduser: unknown group 0
Therefore the user is not created and the subsequent commands fail.
This is not really a bug, but it might be nice to e.g. get a more precise error message or set GID to some default value.
You fixed it, it's merged! So I close this. Thanks again.
Hi!
Thanks for providing this very convenient docker image!
I just noticed a minor issue: If you specify the UID, but not the GID, then the mount actually fails. The first problem is here, where adduser fails due to GID being 0, so you get
adduser: unknown group 0
: https://github.com/efrecon/docker-s3fs-client/blob/master/docker-entrypoint.sh#L48Therefore the user is not created and the subsequent commands fail.
This is not really a bug, but it might be nice to e.g. get a more precise error message or set GID to some default value.