terraform/internal/providercache
Martin Atkins 2ff4582be2 internal/providercache: Fix positions on selections file/dir
On Unix-derived systems a directory must be marked as "executable" in
order to be accessible, so our previous mode of 0660 here was unsufficient
and would cause a failure if it happened to be the installer that was
creating the plugins directory for the first time here.

Now we'll make it executable and readable for all but only writable by
the same user/group. For consistency, we also make the selections file
itself readable by everyone. In both cases, the umask we are run with may
further constrain these modes.
2020-04-06 09:24:23 -07:00
..
testdata/cachedir internal/providercache: add windows test fixture 2020-03-25 13:50:00 -07:00
cached_provider.go internal/providercache: Hashing of contents of cached packages 2020-04-06 09:24:23 -07:00
cached_provider_test.go internal/providercache: Hashing of contents of cached packages 2020-04-06 09:24:23 -07:00
dir.go internal/{getproviders,providercache}: improved trace logging 2020-03-25 13:50:00 -07:00
dir_modify.go internal/providercache: Clear the metadata cache during package install 2020-04-06 09:24:23 -07:00
dir_modify_test.go internal/providercache: LinkFromOtherCache removes target, not source 2020-03-25 13:50:00 -07:00
dir_test.go providercache: A package to encapsulate management of provider cache dirs 2020-03-25 11:29:48 -07:00
doc.go providercache: A package to encapsulate management of provider cache dirs 2020-03-25 11:29:48 -07:00
installer.go internal/providercache: Installer records its selections in a file 2020-04-06 09:24:23 -07:00
installer_events.go internal/providercache: Installer records its selections in a file 2020-04-06 09:24:23 -07:00
lock_file.go internal/providercache: Fix positions on selections file/dir 2020-04-06 09:24:23 -07:00
package_install.go internal/providercache: Installation from HTTP URLs and local archives 2020-03-25 11:29:48 -07:00