You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/copy
Martin Krizek a8a318e588 Fix copy module to reset filesystem acls (#51868)
The controller's fixup_perms2 uses filesystem acls to make the temporary
file for copy readable by an unprivileged become user. On Python3, the
acls are then copied to the destination filename so we have to remove
them from there.

We can't remove them prior to the copy because we may not have
permission to read the file if the acls are not present. We can't
remove them in atomic_move() because the move function shouldn't know
anything about controller features. We may want to generalize this into
a helper function, though.

Fixes #44412

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
(cherry picked from commit d15812fabf)
6 years ago
..
defaults Copy module: improve tests allowing to use a managed host which isn't the controller host (#25672) 7 years ago
files Add symlinks sanity test. (#46467) 6 years ago
meta test - add setup target that creates the nobody user (#52750) 6 years ago
tasks Fix copy module to reset filesystem acls (#51868) 6 years ago
aliases Update Shippable integration test groups. (#43118) 6 years ago