Skip to content

Commit

Permalink
Remove test for bucket ownership. Fix #5731.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Feb 26, 2011
1 parent ce14ed1 commit 8fbc879
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions source/ch/cyberduck/core/s3/S3Session.java
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,6 @@ protected List<S3Bucket> getBuckets(boolean reload) throws IOException, ServiceE
this.configure(host.getProtocol().getDefaultHostname());
bucketname = host.getHostname(true);
}
if(!this.getClient().isBucketAccessible(bucketname)) {
throw new IOException("Bucket not accessible: " + bucketname);
}
S3Bucket bucket = new S3Bucket(bucketname);
try {
StorageOwner owner = this.getClient().getBucketAcl(bucketname).getOwner();
Expand Down

0 comments on commit 8fbc879

Please sign in to comment.