1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/copy
Martin Krizek d15812fabf
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>
2019-04-03 18:37:59 +02:00
..
defaults Copy module: improve tests allowing to use a managed host which isn't the controller host (#25672) 2017-07-31 22:07:22 -07:00
files Add symlinks sanity test. (#46467) 2018-10-04 07:02:42 -07:00
meta test - add setup target that creates the nobody user (#52750) 2019-02-22 14:04:10 +10:00
tasks Fix copy module to reset filesystem acls (#51868) 2019-04-03 18:37:59 +02:00
aliases Update Shippable integration test groups. (#43118) 2018-07-23 20:46:22 -07:00