community.general/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 Have update-bundled check for updates to all bundled code 2019-02-06 13:59:55 -08:00
config Collection content loading (#52194) 2019-03-28 10:41:39 -07:00
errors Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776) 2019-01-23 11:32:25 -05:00
executor Collection content loading (#52194) 2019-03-28 10:41:39 -07:00
galaxy Update galaxy cli metadata file templates (#51398) 2019-02-22 00:54:02 -05:00
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 Become plugins (#50991) 2019-02-11 11:27:44 -06:00
release.py Codename: How Many More Times 2018-09-04 12:38:29 -04:00