Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

205
Visualizações
AWS Java SDK requiring bucket-owner-full-control?

I'm pushing files to an S3 bucket and the bucket owner cannot see the files while my role is granted access to write to the bucket. I'm not sure why this is and was hoping I would have to programatically force bucket-owner-full-control.

Simple Code Blob:

      ObjectMetadata metadata = constructMetadata();
      PutObjectRequest request = new PutObjectRequest(bucketName, filename, data, metadata);
      s3Supplier.get().putObject(request);

It uploads successfully, but not seen by the bucket owner. Any reason as to why this would be?

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

PutObjectRequest request = new PutObjectRequest(bucketName, filename, data, metadata).withCannedAcl(CannedAccessControlList.BucketOwnerFullControl); ObjectMetadata metadata = constructMetadata(); PutObjectRequest request = new PutObjectRequest(bucketName, filename, data, metadata); s3Supplier.get().putObject(request);

Inspired by the answer

over 4 years ago · Santiago Trujillo Relatório

0

S3 objects are owned by the AWS account that writes them. Clean By default, only the owner of the object has all privileges on the object, and others, including the bucket owner, cannot access it unless access is granted (via ACL).

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda