-
Notifications
You must be signed in to change notification settings - Fork 51
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
[Analysis] UID is fine, but different GID is used on uploaded files #87
Comments
Just an idea: the linux command useradd has two options for gid, one setting the primary group and another for setting supplementary groups. Are there different options in the json settings for these two types of groups?
I'm thinking about this after reviewing the logs:
It says updating UID, but adding at the group message. |
Hi @reinerwill |
I am having the same issue as described by @reinerwill. When a user creates a file inside the container it is owned by a different GID than specified in the config. This occurs because a new primary group for the user in the container is created when the I put together PR #89 that will address this issue and assign primary groups as specified in the config file. |
One additional possible concern would be what happens with host permissions when a GID in the container matches a different GID on the host. I will create a separate issue for that. |
@MrDonkey07 - I'm evaluating your PR right now to make sure that everything is still okay (bit of ramp-up to do on my end). |
When not specifying UID and GID in the json config the user will use 1000:1001. When I add UID and GID to the config, only UID is used correctly. This looks still like a bug to me. I set these to 444:444 and file are getting 444:1001. |
I have the same behavior. |
Me too, same behavior, |
Automatically marked as stale due to no recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Automatically closed stale item. |
Hi,
When I upload files in the standard configuration, the files being set to uid/gid 1000:1001. I changed the json config to use 444:444 instead, but when I upload files they get 444:1001. Why is the gid ignored, please?
My config:
The text was updated successfully, but these errors were encountered: