packer/packer
Lucas Bajolet 3c8de6e5ad plugins: install SHA256SUM file with 0644 perms
When invoking `packer plugins install' to install a plugin, or `packer
init', the checksum file would be installed with 0555 permissions.

This led in turn to further attempts at installing the plugin will
succeed, but the checksum file would not be updated, as it was marked
non-writable by the owner of the file, leading potentially to a
situation where the plugin binary and the checksum would be out-of-sync,
but could not be updated unless the user changed it.

To avoid such a problem, we write the checksum file with 0644
permissions, so the owner can read/write, while the other users can only
read it.
2023-10-26 10:35:33 -04:00
..
plugin-getter plugins: install SHA256SUM file with 0644 perms 2023-10-26 10:35:33 -04:00
test-fixtures Update JSON template does not return substitute values in 1.8.6 version (#12290) 2023-03-01 15:19:44 -05:00
build.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
build_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
builder_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
client_test.go chore: remove refs to deprecated io/ioutil 2023-09-26 11:13:31 -04:00
cmd_builder.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
cmd_builder_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
cmd_datasource.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
cmd_datasource_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
cmd_hook.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
cmd_hook_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
cmd_post_processor.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
cmd_post_processor_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
cmd_provisioner.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
cmd_provisioner_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
core.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
core_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
fixconfigmode_enumer.go Run make fmt to fix checks 2023-04-27 15:17:31 -04:00
maps.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
packer_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
plugin.go packer: remove implicit required plugins 2023-08-17 16:51:49 -04:00
plugin_client.go chore: remove refs to deprecated io/ioutil 2023-09-26 11:13:31 -04:00
plugin_discover_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
plugin_folders.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
plugin_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
post_processor_mock.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
post_processor_mock.hcl2spec.go Use packer-sdc in packer + remove mapstructure-to-hcl2 & struct-markdown (#10913) 2021-04-16 11:52:03 +02:00
progressbar.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
progressbar_solaris.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
progressbar_test.go chore: remove refs to deprecated io/ioutil 2023-09-26 11:13:31 -04:00
provisioner.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
provisioner_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
provisioner_timeout.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
run_interfaces.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
telemetry.go telemetry: Add nil check in SetBundledUsage 2023-08-18 10:19:31 -04:00
telemetry_test.go telemetry: Add nil check in SetBundledUsage 2023-08-18 10:19:31 -04:00
testing.go chore: remove refs to deprecated io/ioutil 2023-09-26 11:13:31 -04:00
ui.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
ui_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00