You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
load_bucket tries to fetch bucket region even if both --bucket and --region are provided #45
client.load_bucket tries to fetch bucket region even if both --bucket and --region are provided as parameters.
It means that if user is not authorized to use buckets meta APIs like List Buckets or Get Bucket Location, user won't be able to use the bucket in any way. Even when user is authorized to list particular bucket content. From my experience having rights only to bucket content is not uncommon.
I've tested, and if I disable the call to get_bucket_location and replace it with region provided, other functionality works as expected.
Additionally, error in the application does not describe the real reason. Just says "No bucket found (region: us-east-1)".
Activity
jkbe commentedon Feb 4, 2025
+1, this is the single thing that keeps me from successfully trying out stu :)
mjclarke94 commentedon Feb 10, 2025
Yep, also bumping into this.
jkbe commentedon Feb 10, 2025
This is fixed by #46, I just built the current default branch locally to confirm it
lusingander commentedon Feb 11, 2025
@JakobEdding Thanks for checking.
In addition, I removed the bucket existence check by head-object in #47. Now I think we can open the bucket even if we don't have permission to it.
jkbe commentedon Feb 19, 2025
Hi @lusingander, are you planning a release of stu that includes this fix?
lusingander commentedon Feb 20, 2025
https://github.com/lusingander/stu/releases/tag/v0.6.7