Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

199
Views
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 answers
Answer question

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!