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

Upload to cloud (s3 bucket scaleway) files permission denied #124

Closed
AbM7797 opened this issue May 10, 2022 · 5 comments
Closed

Upload to cloud (s3 bucket scaleway) files permission denied #124

AbM7797 opened this issue May 10, 2022 · 5 comments
Labels
status: archived Archived and locked; will not be updated type: question A question from the community

Comments

@AbM7797
Copy link

AbM7797 commented May 10, 2022

I'm facing a problem when uploading the shaka auto-generated files to the cloud (s3 bucket scaleway), all the files are private and I didn't find any configuration to change the visibility of the files from private to public.
Is there a custom boto configuration?
This is my configuration:

[Credentials]
aws_access_key_id=xxxxxxxxxxxxxxxxxxxxxxxxx
aws_secret_access_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
s3_host=xxxxxxxxxxxxxx
region_name=fr-par
endpoint_url=http://xxxxxxxxxxx
service_name=s3
use_ssl=True
acl_public=True
acl=public-read

[s3]
calling_format = boto.s3.connection.OrdinaryCallingFormat
acl=public-read
acl_public=True
@AbM7797 AbM7797 changed the title Upload to cloud (s3 bucket scaleway) permission denied Upload to cloud (s3 bucket scaleway) files permission denied May 11, 2022
@joeyparrish joeyparrish added the type: question A question from the community label May 24, 2022
@joeyparrish
Copy link
Member

I don't know how to do it for S3, but I know how to do it for GCS. It has to do with access controls on the bucket. In GCS, if the bucket is set to allow read-only access from allUsers, then anyone can read the files without authentication. There must be a similar thing in S3, but you'll need to search the S3 docs for that.

Does this help?

@github-actions
Copy link

@AbM7797 Does this answer all your questions? If so, would you please close the issue?

@github-actions github-actions bot added the status: waiting on response Waiting on a response from the reporter(s) of the issue label May 28, 2022
@AbM7797
Copy link
Author

AbM7797 commented May 30, 2022

@joeyparrish My bucket is already public but when shaka uploads the files it sets them to private.

@github-actions github-actions bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label May 30, 2022
@joeyparrish
Copy link
Member

Upload today uses the external command gsutil cp (though we are working to change that in PR #103). Since we're only using gsutil cp, try copying a file into your bucket with that command. If that file is also not public-readable, I strongly advise you to look into your bucket settings. We don't directly set anything related to access control.

@joeyparrish joeyparrish added the status: waiting on response Waiting on a response from the reporter(s) of the issue label May 31, 2022
@github-actions
Copy link

github-actions bot commented Jun 7, 2022

Closing due to inactivity. If this is still an issue for you or if you have further questions, the OP can ask shaka-bot to reopen it by including @shaka-bot reopen in a comment.

@github-actions github-actions bot closed this as completed Jun 7, 2022
@github-actions github-actions bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label Jun 7, 2022
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Oct 27, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 27, 2022
@joeyparrish joeyparrish modified the milestone: v1.0 Nov 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated type: question A question from the community
Projects
None yet
Development

No branches or pull requests

2 participants