title: withCannedAcl(CannedAccessControlList.PublicRead) not working for Contabo Object storage
body: <p>Below is my source code:</p>
  <pre><code>public void uploadFile(String filedir, String name, byte[] content) {
      File file = new File(name);
      try (FileOutputStream iofs = new FileOutputStream(file)) {
          iofs.write(content);
          PutObjectRequest putObj =
                  new PutObjectRequest(defaultBucketName, defaultBaseFolder + &quot;/&quot; + filedir + &quot;/&quot; + file.getName(), file)
                          .withCannedAcl(CannedAccessControlList.PublicRead);
          PutObjectResult putObjectResult =
                  amazonS3Client.putObject(putObj);
  
      } catch (IOException e) {
          e.printStackTrace();
      }
  }
  </code></pre>
  <p><strong>Expected Behavior:</strong> After executing the above code, the file stored at <a href="https://contabo.com/en/object-storage/" rel="nofollow noreferrer">Contabo</a> object storage should be &quot;Public&quot;.</p>
  <p><strong>Actual Behavior:</strong> But it is not Public after upload. It remains as private as below:
  <a href="https://i.stack.imgur.com/IM8tb.png" rel="nofollow noreferrer">Click here to see object storage state</a></p>
  <p><strong>aws-java-sdk</strong> version: 1.12.215</p>