set-file-group ( path string/id -- ) (original) (raw)
set-file-group ( path string/id -- )
Unix file attributes » Unix file user and group ids
Prev: | file-group-name ( path -- string ) |
---|
Inputs
path | a pathname string |
---|---|
string/id | a string or a group id |
Outputs
None
Word description
Sets a file's group id from the given group id or group name.
Definition
GENERIC: set-file-group ( path string/id -- )
Methods
USING: io.files.info.unix kernel math ;
M: integer set-file-group f swap set-file-ids ;