diff --git a/api/ocm/tools/toi/drivers/docker/driver.go b/api/ocm/tools/toi/drivers/docker/driver.go index 75a15c25f1..cdfbb42fb6 100644 --- a/api/ocm/tools/toi/drivers/docker/driver.go +++ b/api/ocm/tools/toi/drivers/docker/driver.go @@ -264,6 +264,7 @@ func (d *Driver) Exec(op *install.Operation) (*install.OperationResult, error) { } options := container.CopyToContainerOptions{ AllowOverwriteDirWithFile: false, + CopyUIDGID: true, } // This copies the tar to the root of the container. The tar has been assembled using the // path from the given file, starting at the /.