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

Fix chown on copy issue #1448

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Fix chown on copy issue #1448

wants to merge 5 commits into from

Conversation

gpeb2
Copy link
Collaborator

@gpeb2 gpeb2 commented Jan 21, 2025

This PR is to fix an issue where transferring files between containers using the Docker API currently requires a chown call with user 1000, which is rightly disallowed on secure systems.

gpeb2 added 5 commits January 20, 2025 18:08
…ansferred between containers in the tar archive the ownership is handled by setting the ```CopyUIDGID``` flag in the Docker API call. This should set the files' owner and group to those of the destination container.
… command in the ```OntopService``` class.
…kerClient`, `ContainerClient` and `ContainerService` classes and used it to replace calls to the `sendFilesContent` method when there is only one file. Also tidied up some adjacent code.
@gpeb2 gpeb2 added bug Something isn't working infra-stack Infrastructure issues relating to the stack-manager, stack-data-uploader or the agent templates labels Jan 21, 2025
@gpeb2 gpeb2 requested a review from sm453 January 21, 2025 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working infra-stack Infrastructure issues relating to the stack-manager, stack-data-uploader or the agent templates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant