pradeepgv42 commented on issue #6161:
URL: 
https://github.com/apache/incubator-pinot/issues/6161#issuecomment-713080879


   I believe, in S3PinotFs, acls need to be set in put/copy object requests 
such that bucket owner is given full access to the objects created. Something 
like below, most likely this should fix the issue for cross account 
interactions:
   ```
   
   final AccessControlList acl = s3Client.getBucketAcl(bucket);
   acl.grantAllPermissions(new Grant(new 
CanonicalGrantee(acl.getOwner().getId()), Permission.FullControl));
   return acl 
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to