# 图片上传错误：存储桶不允许ACL

**URL:** https://meta.discourse.org/t/image-upload-error-the-bucket-does-not-allow-acls/224800
**Category:** Support
**Tags:** s3
**Created:** [2022年四月20日 00:56 UTC](https://meta.discourse.org/t/image-upload-error-the-bucket-does-not-allow-acls/224800 "2022-04-20T00:56:29Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![bksubhuti](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bksubhuti/32/254360_2.png) [@bksubhuti](https://meta.discourse.org/u/bksubhuti)
#### Post date: [2022年四月20日 05:10 UTC](https://meta.discourse.org/t/image-upload-error-the-bucket-does-not-allow-acls/224800/4 "2022-04-20T05:10:56Z")

</div>

我猜那就是问题所在，并且抱怨的用户已经确认问题已修复。

我不确定这个图片上传有什么作用，但我想这可能是一些复杂服务器需要的一些额外功能。我想我们这 40 个用户不需要这种复杂功能的 Discourse。我们更关心表情符号点赞。

但是，当我按照 S3 说明操作时，我不得不回头创建一个新的“备份”存储桶，而原来的存储桶用于上传（因为我按照设置中出现的顺序进行的）。我想我可能会在 S3 说明中添加一些更多信息作为回复，以帮助其他人更容易遵循。此外，帮助线程中列出的权限策略不存在，我最终从另一个网站找到了一个“\*”解决方案。我会在该线程中尝试帮助澄清这一点。它奏效了，但需要对说明进行一些工作和调整。

这些操作无效……我改用了 \*。

```plaintext
"Action": [
           "s3:ListAllMyBuckets",
           "s3:HeadBucket"
       ],

```

我用来配置和遵循说明的帖子在这里：[here](https://meta.discourse.org/t/setting-up-file-and-image-uploads-to-s3/7229)

它也标记了启用 S3 上传为已勾选。似乎让事情变得对普通用户来说太复杂了。  
另一方面，我希望我的备份在没有它的情况下也能正常工作。

---

_[View the full topic](https://meta.discourse.org/t/image-upload-error-the-bucket-does-not-allow-acls/224800)._
