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