---
title: setGroupID
framework: system
role: symbol
role_heading: Type Property
path: system/filepermissions/setgroupid
---

# setGroupID

Indicates that the file is executed as the group.

## Declaration

```swift
static var setGroupID: FilePermissions { get }
```

## Discussion

Discussion For more information, see the setgid(2) man page.

## See Also

### Special Permissions

- [setUserID](system/filepermissions/setuserid.md)
- [saveText](system/filepermissions/savetext.md)
