This repository was archived by the owner on Feb 26, 2025. It is now read-only.
This repository was archived by the owner on Feb 26, 2025. It is now read-only.
ByteChannel can only read objects from buckets owned by accessing user #108
Open
Description
S3SeekableByteChannel
constructor looks for bucket name inS3FileStore.getBucket
S3FileStore.getBucket
delegates 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.
Metadata
Metadata
Assignees
Labels
No labels