0

I am not sure if this post should be posted here on Server Fault site, but I saw some posts about AWS here on Stack Overflow, so I hope this one fits here too.

I got the following problem when zipping and uploading files written in Python and Windows 10 not Ubuntu to AWS lambda function:

[Errno 13] Permission denied

I tried chmod 644 on files before zipping them, but I still have the same issue. All files that I upload to AWS through zipping will have permission denied issue, any solution?

I checked as well other posts about this where they discussed using chmod on files before zipping them, but I got the same problem as well:

Any suggestions?

Ibraheem
  • 25
  • 1
  • 8
  • Where are you creating the files? In AWS Lambda you can only create files in `/tmp/`. – John Rotenstein Nov 29 '19 at 10:56
  • When you say "zipping and uploading files ... to the aws lambda function", do you mean from your local computer to the lambda function as the source code for the lambda, or something else? What are you using to upload the zip file, the aws cli or something else? – adamkgray Nov 30 '19 at 02:49

0 Answers0