AWS codedeploy: AppSpec permissions section now covers macOS; acls/context unsupported
Summary
Extends the 'permissions' section applicability to macOS instances and adds a note that the 'acls' and 'context' instructions are not supported on macOS, causing deployment failure before files are installed.
Security assessment
The change is a platform-compatibility clarification for the AppSpec permissions section (file ownership/permission instructions). It mentions ACLs but only to state they are unsupported on macOS; no vulnerability, credential, or exposure issue is described.
Evidence
+On macOS instances, the `acls` and `context` instructions are not supported. A deployment whose AppSpec file uses either of them on macOS fails before any files are installed. The other instructions work as described in this section.
Diff
diff --git a/codedeploy/latest/userguide/reference-appspec-file-structure-permissions.md b/codedeploy/latest/userguide/reference-appspec-file-structure-permissions.md index 3931aae..5d4f515 100644 --- a//codedeploy/latest/userguide/reference-appspec-file-structure-permissions.md +++ b//codedeploy/latest/userguide/reference-appspec-file-structure-permissions.md @@ -11 +11,5 @@ -The `'permissions'` section specifies how special permissions, if any, should be applied to the files and directories/folders in the `'files'` section after they are copied to the instance. You can specify multiple `object` instructions. This section is optional. It applies to Amazon Linux, Ubuntu Server, and RHEL instances only. +The `'permissions'` section specifies how special permissions, if any, should be applied to the files and directories/folders in the `'files'` section after they are copied to the instance. You can specify multiple `object` instructions. This section is optional. It applies to Amazon Linux, Ubuntu Server, RHEL, and macOS instances only. + +###### Note + +On macOS instances, the `acls` and `context` instructions are not supported. A deployment whose AppSpec file uses either of them on macOS fails before any files are installed. The other instructions work as described in this section.