On Windows, some compression tools discard file and folder properties when they create compressed files. For this reason, permissions may not be retained for files in the code package that you upload to Function Compute. After the files are extracted from the package in a Linux runtime environment, they do not have execute permissions. When your function attempts to run such a file, the permission denied error is returned. Make sure your compression tool retains the Others permission for files or folders, and set appropriate permissions, such as 755, for files that you want to run. Alternatively, develop your programs in Linux or macOS.
How helpful was this page?
What might be the problems?