The bootstrap file of a custom runtime must have execute permissions (755 or 777). Without them, Function Compute returns the following error:
{
"ErrorCode": "CAFilePermission",
"ErrorMessage": "The CA process cannot be started due to bootstrap file don't have execute permissions"
}Solution
Before packaging your deployment files, run one of the following commands to add execute permissions to the bootstrap file:
chmod 755 bootstrapchmod 777 bootstrap