Skip to content

Commit

Permalink
fix: use copy uid gid when running toi applications
Browse files Browse the repository at this point in the history
Signed-off-by: Gergely Brautigam <[email protected]>
  • Loading branch information
Skarlso committed Jan 6, 2025
1 parent d8559ce commit 9dfbf7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/ocm/tools/toi/drivers/docker/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 /.
Expand Down

0 comments on commit 9dfbf7c

Please sign in to comment.