Fix permission denied errors when accessing local files #887
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Test files were suddenly getting permission denied errors in the test suite and in any development environments that were recently created. This is because MinIO made some updates that broke our script that sets the test/local buckets to public after they are created. This PR pins MinIO to the last known working version. Further work should be done to update the commands and keep up-to-date with MinIO, but pinning the versions is a good idea nevertheless.
Deployment Notes
To fix this locally, run
docker compose pull minio minio-init
and thendocker compose up -d
. The changes do not apply to the production or staging environments because they used a hosted object storage service. If you haven't updated your Docker compose environment in a few months, then you shouldn't have run into this issue.Checklist