ansible/changelogs/fragments/unarchive-absolute-path.yaml
Toshio Kuratomi 0fd9c9b014
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)
2018-03-07 18:41:29 -08:00

5 lines
198 B
YAML

---
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