set-gid ( path ? -- ) (original) (raw)

set-gid ( path ? -- )
Unix file attributes » Unix file permissions

Prev: set-uid ( path ? -- )
Next: set-sticky ( path ? -- )

Vocabulary
io.files.info.unix

Inputs

path a pathname string
? a boolean

Outputs
None

Word description
Sets the gid bit of a file to true or false.

Definition

USING: io.files.info.unix.private kernel ;

IN: io.files.info.unix

: set-gid ( path ? -- ) GID swap chmod-set-bit ;