Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fao89 opened this issue Nov 16, 2021 · 1 comment
Open

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

fao89 opened this issue Nov 16, 2021 · 1 comment

Comments

@fao89
Copy link
Owner

fao89 commented Nov 16, 2021

Author: daviddavis (daviddavis)

Redmine Issue: 4455, https://pulp.plan.io/issues/4455


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 jschneier/django-storages#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.

@fao89
Copy link
Owner Author

fao89 commented Nov 16, 2021

From: bmbouter (bmbouter)
Date: 2019-02-25T16:55:09Z


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant