Mode bits that make an executable run with its owner’s (or group’s) identity instead of the caller’s; on a directory, setgid makes new files inherit its group. They show as s in ls -l.