Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant