Constant lrs::file::mode::MODE_SET_GROUP_ID

See the remarks.

Syntax

const MODE_SET_GROUP_ID: Mode = Mode(S_ISGID);

Remarks

This flag has different meanings when applied to regular files and directories.

On regular files

When the file is executed, the effective group id is set to the owning group's id.

On directories

When a file is created in this directory, the group owner of the file is the same as for this directory. When a directory is created in this directory, it additionally inherits the set-group-id flag.

See also