Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Should fail gracefully when unable to fetch ACL/owner info #106

Open
ryan-williams opened this issue Jul 17, 2018 · 0 comments · May be fixed by #107
Open

Should fail gracefully when unable to fetch ACL/owner info #106

ryan-williams opened this issue Jul 17, 2018 · 0 comments · May be fixed by #107

Comments

@ryan-williams
Copy link

S3Utils. getS3ObjectSummary makes a second RPC to get the ACL, but I'm seeing this fail on a publicly-viewable object I'm trying to work with, because its ACL isn't public.

The documentation of S3ObjectSummary.owner says:

/**
 * The owner of this object - can be null if the requester doesn't have
 * permission to view object ownership information
 */

S3Utils. getS3ObjectSummary should probably wrap that second RPC in a try/catch to leave owner as null in this case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant