mirror of
https://github.com/ansible/ansible.git
synced 2026-08-01 00:34:56 +02:00
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
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user