Permissions

SGID

English

Overview

A setting that carries over group permissions when a file is executed or created.

Details

Short for Set Group ID. A special permission bit that either runs an executable with its owning group's permissions, or makes files newly created within a directory inherit that directory's group. Setting SGID on a shared directory keeps files created by different users under the same group automatically, which is why it's commonly used for team-shared working directories.

More Linux terms