egress icon indicating copy to clipboard operation
egress copied to clipboard

S3 File permission

Open takiuddinahmed opened this issue 2 years ago • 3 comments

I want to upload the video file to S3. I found out that the file permission is private. But I want to make the file permission as Public. I didn't find any way to set file permission as public. I am working on Nodejs 16

takiuddinahmed avatar Sep 14 '23 17:09 takiuddinahmed

There is currently no way to specify object ACL. you would have to change bucket ACL to allow world read on the bucket: https://docs.aws.amazon.com/AmazonS3/latest/userguide/managing-acls.html

davidzhao avatar Sep 15 '23 05:09 davidzhao

I found ACL is available to set in PutObjectInput https://docs.aws.amazon.com/sdk-for-go/api/service/s3/#PutObjectInput

@davidzhao could you please reopen issue

perescope avatar Oct 10 '24 09:10 perescope

I also encountered this issue. Though I made it work by changing the ACL of the uploaded file through aws sdk after uploading it to bucket, it'd be better if livekit did this itself by allowing to pass some ACL related properties.

anurag-dhamala avatar Mar 20 '25 14:03 anurag-dhamala