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:
- Post 1: https://github.com/aws/aws-cli/issues/3235
- Post 2: https://forums.aws.amazon.com/thread.jspa?messageID=742422
- Post 3: PermissionError: [Errno 13] Permission denied when accessing to aws ec2 accessing-to-aws-ec2
Any suggestions?