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,210 points

1 answer to this question.

0 votes


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,320 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,140 points
0 votes
2 answers

How to access files in S3 bucket from R?

You can take a look at the ...READ MORE

answered Aug 10, 2018 in AWS by Deepthi
• 300 points
0 votes
1 answer

How to download the latest file in a S3 bucket using AWS CLI?

You can use the below command $ aws ...READ MORE

answered Sep 6, 2018 in AWS by Archana
• 4,150 points
0 votes
1 answer