From 67cdaa49f89b34e42b69d5b7830b3c3ad3d8803f Mon Sep 17 00:00:00 2001 From: Sloane Hertel <19572925+s-hertel@users.noreply.github.com> Date: Tue, 12 Sep 2023 09:43:46 -0400 Subject: [PATCH] ansible-galaxy-collection - fix config permissions for galaxy-importer (#81679) * Fix permissions for the galaxy-importer config, previously only root had read/write * fix ownership instead --- .../ansible_test/_internal/commands/integration/cloud/galaxy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/lib/ansible_test/_internal/commands/integration/cloud/galaxy.py b/test/lib/ansible_test/_internal/commands/integration/cloud/galaxy.py index 5ea10cbaeb4..f7053c8b4ff 100644 --- a/test/lib/ansible_test/_internal/commands/integration/cloud/galaxy.py +++ b/test/lib/ansible_test/_internal/commands/integration/cloud/galaxy.py @@ -144,6 +144,7 @@ class GalaxyProvider(CloudProvider): display.info(f'>>> {friendly_name} Configuration\n{to_text(content)}', verbosity=3) docker_exec(self.args, descriptor.container_id, ['mkdir', '-p', os.path.dirname(path)], True) docker_cp_to(self.args, descriptor.container_id, temp_fd.name, path) + docker_exec(self.args, descriptor.container_id, ['chown', 'pulp:pulp', path], True) self._set_cloud_config('PULP_HOST', GALAXY_HOST_NAME) self._set_cloud_config('PULP_USER', 'admin')