mirror of https://github.com/ansible/ansible.git
Bkprt unarchive fix (#37159)
* Fix unarchive with strip-components in extra_opts (#37048)
* Fix unarchive with strip-components in extra_opts
When unarchive is given extra_opts to strip all leading directories, it
could end up trying to change the permissions on the root directory.
Tar archives shouldn't contain absolute paths anyways so make sure that
all paths are relative as we handle them.
Fixes #21397
(cherry picked from commit cca0ccaf97
)
pull/37168/head
parent
09de6dc020
commit
0fd9c9b014
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
bugfixes:
|
||||||
|
- Fix for unarchive when users use the --strip-components extra_opt to tar
|
||||||
|
causing ansible to set permissions on the wrong directory.
|
||||||
|
https://github.com/ansible/ansible/pull/37048
|
Loading…
Reference in New Issue