download failed s3 bucketnad bucket txt to bucket txt WinError 5 Access is denied C Users NADIM AKTHAR Desktop New folder bucket txt

+1 vote

Hi Guys,

I am trying to sync the s3 bucket to my local system. But it is showing me the below error.

C:\Users\NADIM AKTHAR\Desktop\New folder>aws s3 sync s3://bucketnad .
download failed: s3://bucketnad/bucket.txt to .\bucket.txt [WinError 5] Access is denied: 'C:\\Users\\NADIM AKTHAR\\Desktop\\New folder\\bucket.txt'

How can I solve this error?

Jun 8, 2020 in AWS by akhtar
• 38,260 points
3,276 views

1 answer to this question.

0 votes

Hi@akhtar,

You may get this error if you didn't give the public permission to your bucket. You can follow the below steps to give permissions to your bucket.

  • Login to your account.

  • Select your bucket.

  • Click on permissions and give public access.

answered Jun 8, 2020 by MD
• 95,460 points

Related Questions In AWS

0 votes
1 answer
+3 votes
2 answers

How to download an entire bucket from S3 to local folder?

You can simply download your S3 bucket ...READ MORE

answered Dec 11, 2018 in AWS by Priyaj
• 58,020 points
11,894 views
0 votes
0 answers
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP