set-group-execute ( path ? -- ) (original) (raw)

set-group-execute ( path ? -- )
Unix file attributes » Unix file permissions

Prev: set-group-write ( path ? -- )
Next: set-other-read ( path ? -- )

Vocabulary
io.files.info.unix

Inputs

path a pathname string
? a boolean

Outputs
None

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

Definition

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

IN: io.files.info.unix

: set-group-execute ( path ? -- )
GROUP-EXECUTE swap chmod-set-bit ;