Skip to content

Commit

Permalink
Do not keep file ownership
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <[email protected]>
  • Loading branch information
mudler committed Jun 21, 2024
1 parent f6a40f0 commit 28275dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/oci/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ var defaultRetryPredicate = func(err error) bool {
func ExtractOCIImage(img v1.Image, targetDestination string) error {
reader := mutate.Extract(img)

_, err := archive.Apply(context.Background(), targetDestination, reader)
_, err := archive.Apply(context.Background(), targetDestination, reader, archive.WithNoSameOwner())

return err
}
Expand Down

0 comments on commit 28275dc

Please sign in to comment.