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
The result is that you can't open a byte-channel for an object in a bucket not owned by the current user.
Arguably, the bug is in S3FileStore.getBucket, which IIUC should be able to see buckets that the current user can see, not just buckets that the current user owns.
S3SeekableByteChannelconstructor looks for bucket name inS3FileStore.getBucketS3FileStore.getBucketdelegates toAmazonS3.listBucket, which only returns buckets owned by the current user.The result is that you can't open a byte-channel for an object in a bucket not owned by the current user.
Arguably, the bug is in
S3FileStore.getBucket, which IIUC should be able to see buckets that the current user can see, not just buckets that the current user owns.