community.general/lib/ansible/plugins/action
Toshio Kuratomi edaeb69a35 Fix the script and patch plugins tempfile ownership
Unified tmp accidentally removed the containing tmpdir from the list of
files to fix the permissions on when we're becoming a different
unprivileged user.  This resulted in a visible bug for script but not
for patch.  This is because patch also uploads the module to the same
temporary directory and the uploaded module also ends up calling
fixup_perms2() which includes the temporary directory.  So by the time
patch needs to access the temporary patch file, the directory is
appropriately set.

script's breakage was visible because script does not upload a module
(it's akin to raw in this way).  Therefore, we only call fixup_perms2()
once in script and so leaving out the tmpdir in script means that the
containing directory never has its permissions set appropriately.

Fixing both because it does not cause an extra round trip for patch so
any speedup would be minimal and it's better to fix the perms as close
as possible to where we know we need it.  Otherwise, changes to
seemingly unrelated code later could end up breaking it.

Fixes #36398
2018-02-19 13:07:58 -08:00
..
__init__.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
add_host.py add_host: check if name or hostname arg is provided 2018-02-12 15:24:45 -05:00
aireos.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
aireos_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
aruba.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
aruba_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
asa.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
asa_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
assemble.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
assert.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
aws_s3.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
bigip.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
ce.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
ce_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
ce_template.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
command.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
copy.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
debug.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
dellos6.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
dellos6_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
dellos9.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
dellos9_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
dellos10.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
dellos10_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
enos.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
enos_config.py Changing Lenovo Inc to Lenovo and update License file to be consistent. (#36155) 2018-02-14 10:44:05 +00:00
eos.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
eos_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
fail.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
fetch.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
fortios_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
group_by.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
include_vars.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
ios.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
ios_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
iosxr.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
iosxr_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
ironware.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
ironware_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
junos.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
junos_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_banner.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_base.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_interface.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_l2_interface.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_l3_interface.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_linkagg.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_lldp.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_lldp_interface.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_logging.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_ping.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_static_route.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_system.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_user.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_vlan.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
net_vrf.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
netconf_config.py
normal.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
nxos.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
nxos_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
onyx_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
ops_config.py
package.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
patch.py Fix the script and patch plugins tempfile ownership 2018-02-19 13:07:58 -08:00
pause.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
raw.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
script.py Fix the script and patch plugins tempfile ownership 2018-02-19 13:07:58 -08:00
service.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
set_fact.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
set_stats.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
shell.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
sros.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
sros_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
synchronize.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
telnet.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
template.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
unarchive.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
vyos.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
vyos_config.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
wait_for_connection.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
win_copy.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
win_reboot.py First bit of fixing temporary to have one source of truth (#35747) 2018-02-07 15:11:36 -08:00
win_template.py
win_updates.py win_updates: fix regression when using string cat names (#36015) 2018-02-15 06:14:06 +10:00