Project

Profile

Help

Issue #4455

closed

S3 doesn't work if you follow the guide in our docs

Added by daviddavis almost 6 years ago. Updated almost 3 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulpcore/1820":https://github.com/pulp/pulpcore/issues/1820


You get a permission denied error if you set up pulp + S3 according to our docs. This warning somewhat explains the problem:

The default behavior of S3Boto3Storage is insecure and will change in django-storages 2.0. By default files and new buckets are saved with an ACL of 'public-read' (globally publicly readable). Version 2.0 will default to using the bucket's ACL. To opt into the new behavior set AWS_DEFAULT_ACL = None, otherwise to silence this warning explicitly set AWS_DEFAULT_ACL.

More info https://github.com/jschneier/django-storages/issues/381

The temporary fix is to set AWS_DEFAULT_ACL to 'None' in our settings. Not sure if we should update our docs since this is a temporary problem that should be resolved in django-storages 2.0.

Actions #1

Updated by bmbouter almost 6 years ago

+1 to updating the docs temporarily and linking to this issue in there as well.

Actions #2

Updated by CodeHeeler almost 6 years ago

  • Triaged changed from No to Yes
Actions #3

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #4

Updated by daviddavis over 4 years ago

  • Tags Documentation added
Actions #5

Updated by pulpbot almost 3 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF