*NIX permissions are represented as one or more of the following:

PermissionSymbolicNumeric
Readr4
Writew2
Executex1
SUIDs/S4
SGIDs/S2
Sticky Bitt1

The SUID/SGID bits are applied to the user or group (respectively) when set symbolically; the sticky bit is applied to the “other” permission set. When set numerically, all three of these values are applied to the “prefix” digit.

Symbolically, the SUID/SGID bits can be represented as either s or S. The different is whether the user/group also has execute permissions (s), or lacks these permissions (S).