diff options
author | Matt Clay <matt@mystile.com> | 2023-03-14 15:56:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-14 15:56:21 -0700 |
commit | 8e2148943b84d9cf9314c35bcd0035b48a04070f (patch) | |
tree | f9b84338b4519db962d6bcfc8c40324577b6229d /changelogs | |
parent | 15e9438b0617f0562ad94e5a799af90ed60112d5 (diff) | |
download | ansible-8e2148943b84d9cf9314c35bcd0035b48a04070f.tar.gz |
[stable-2.13] ansible-test - Fix file permissions for delegation (#80204)
* [stable-2.13] ansible-test - Fix file permissions for delegation (#79932)
* ansible-test - Fix file permissions for delegation
* Set more restrictive permissions for SSH key
* Check all execute bits, not just owner
* Add a breaking_changes changelog entry.
(cherry picked from commit c8c1402ff66cf971469b7d49ada9fde894dabe0d)
Co-authored-by: Matt Clay <matt@mystile.com>
* ansible-test - Fix collection delegation (#79947)
(cherry picked from commit 079383384790310dd6722b08ac18990e2a4d0ed9)
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/fragments/ansible-test-payload-file-permissions.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/changelogs/fragments/ansible-test-payload-file-permissions.yml b/changelogs/fragments/ansible-test-payload-file-permissions.yml new file mode 100644 index 0000000000..e6f0fb8c53 --- /dev/null +++ b/changelogs/fragments/ansible-test-payload-file-permissions.yml @@ -0,0 +1,9 @@ +bugfixes: + - ansible-test - Use consistent file permissions when delegating tests to a container or remote host. + Files with any execute bit set will use permissions ``755``. + All other files will use permissions ``644``. + (Resolves issue https://github.com/ansible/ansible/issues/75079) +breaking_changes: + - ansible-test - Integration tests which depend on specific file permissions when running in an ansible-test managed + host environment may require changes. Tests that require permissions other than ``755`` or ``644`` + may need to be updated to set the necessary permissions as part of the test run. |