stat_object
method needs unknown permissions #876
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#876
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have Garage instance running on Ubuntu server. In it I have a few buckets, and a couple of keys.
I have an app (in Python), and it interacts with the Garage instance via the
minio
library. It has a dedicated key in Garage, which is grantedread
permissions on 2 buckets it needs to use.The app uses 2 methods:
stat_object
for verifying that an object with a given name exists, andpresigned_get_object
to fetch objects.Running the
presigned_get_object
method goes without any issue - correct objects are retrieved. Usingstat_object
method results inAccessDenied
exception.I tried to elevate the key privileges: first I added
write
, when that didn't change anything, alsoowner
. This also had no effect.I failed to find any information about granting some specific privileges to support the
stat_object
method. What am I missing here?Could you set your garage daemon to debug mode by setting the
RUST_LOG=garage=debug
environment variable, and then copy paste the log here of what happens when you try to invoke stat_object ?