# Migrating uploads to s3 does not work with private bucket

**URL:** <https://meta.discourse.org/t/migrating-uploads-to-s3-does-not-work-with-private-bucket/94591>\
**Category:** Feature\
**Created:** [August 13, 2018, 10:41am UTC](https://meta.discourse.org/t/migrating-uploads-to-s3-does-not-work-with-private-bucket/94591 "2018-08-13T10:41:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![schleifer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schleifer/32/86416_2.png) [@schleifer](https://meta.discourse.org/u/schleifer)\
**Post date:** [August 13, 2018, 6:47pm UTC](https://meta.discourse.org/t/migrating-uploads-to-s3-does-not-work-with-private-bucket/94591/2 "2018-08-13T18:47:43Z")

</div>

IAM roles and CloudFront are what we call “Advanced Clouds and Discourses”. The majority of installers aren’t going to be able to figure it out. It’s a reasonable setup, but out-of-scope for the intended purpose of that rake task. So I’d call this a feature request, not a bug.

> [@ash-kadem](#):
>
> remove the piece of code `acl: "public-read"`

If the bucket _is_ supposed to be public, then changing this will copy over a bunch of private objects and the posts will show broken links.

---

_[View the full topic](https://meta.discourse.org/t/migrating-uploads-to-s3-does-not-work-with-private-bucket/94591)._
