ansible/lib/ansible
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
..
cli Collection content loading (#52194) 2019-03-28 10:41:39 -07:00
compat
config Collection content loading (#52194) 2019-03-28 10:41:39 -07:00
errors
executor Collection content loading (#52194) 2019-03-28 10:41:39 -07:00
galaxy
inventory Strip whitespace when reading limit file (#53564) 2019-03-18 12:40:45 -04:00
module_utils asa: Not all modules will have 'passwords' and 'context' keys (#54783) 2019-04-03 21:42:34 +05:30
modules Fix copy module to reset filesystem acls (#51868) 2019-04-03 18:37:59 +02:00
parsing Collection content loading (#52194) 2019-03-28 10:41:39 -07:00
playbook Collection content loading (#52194) 2019-03-28 10:41:39 -07:00
plugins Fix copy module to reset filesystem acls (#51868) 2019-04-03 18:37:59 +02:00
template Collection content loading (#52194) 2019-03-28 10:41:39 -07:00
utils Collection content loading (#52194) 2019-03-28 10:41:39 -07:00
vars fixes for stripping (#52930) 2019-03-12 18:18:38 -04:00
__init__.py
constants.py Fine tune sanity (#53544) 2019-03-11 15:12:14 -04:00
context.py
release.py