All Products
Search
Document Center

Function Compute:What do I do if the CAFilePermission error occurs when I do not have the permissions to execute the bootstrap file of a custom runtime?

Last Updated:Apr 01, 2026

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 bootstrap
chmod 777 bootstrap