spiegel_podman/pkg/bindings/images
Nalin Dahyabhai 748c2700b4 pkg/bindings/images.nTar(): set ownership of build context to 0:0
When attempting to run remote builds, users with UID/GID values that
were high enough that they wouldn't be mapped into their default user
namespace configurations would see their builds fail when the server
attempted to extract the build contexts that they supplied, and failed
to set ownership of the build context content to the UID/GID that were
originally assigned to them.

When archiving the build context at the client, set ownership of
everything to 0:0, which we know is always mapped.  Both ADD and COPY
require that we set the ownership of newly-added content to 0:0 (unless
the --chown flag is used), so throwing away the original ownership
information doesn't hurt, anyway.  As usual, tarballs that we extract
as part of ADD aren't going to be affected.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2021-09-07 15:29:33 -04:00
..
build.go pkg/bindings/images.nTar(): set ownership of build context to 0:0 2021-09-07 15:29:33 -04:00
build_test.go build: improve regex for iidfile 2021-05-06 11:33:59 +02:00
build_unix.go Handle hard links in remote builds 2021-05-22 05:27:03 -04:00
build_windows.go Handle hard links in remote builds 2021-05-22 05:27:03 -04:00
diff.go Fix file descriptor leaks and add test 2021-08-24 16:36:10 -07:00
images.go Fix file descriptor leaks and add test 2021-08-24 16:36:10 -07:00
pull.go create: support images with invalid platform 2021-06-23 15:42:13 +02:00
rm.go Fix file descriptor leaks and add test 2021-08-24 16:36:10 -07:00
types.go podman diff accept two images or containers 2021-07-02 17:11:56 +02:00
types_diff_options.go podman diff accept two images or containers 2021-07-02 17:11:56 +02:00
types_exists_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_export_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_get_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_history_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_import_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_list_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_load_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_prune_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_pull_options.go create: support images with invalid platform 2021-06-23 15:42:13 +02:00
types_push_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_remove_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_search_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_tag_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_tree_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00
types_untag_options.go [NO TESTS NEEDED] Make binding util internal 2021-02-22 14:35:03 +01:00