Handbook
Glossary
set-uid ( path ? -- )
Unix file attributes
ยป
Unix file permissions
Prev:
set-file-permissions ( path n -- )
Next:
set-gid ( path ? -- )
Vocabulary
io
.
files
.
info
.
unix
Inputs
path
a pathname string
?
a
boolean
Outputs
None
Word description
Sets the
uid
bit of a file to true or false.
Definition
USING:
io.files.info.unix.private
kernel
;
IN:
io.files.info.unix
:
set-uid
( path ? -- )
UID
swap
chmod-set-bit
;