set-user-execute ( path ? -- ) (original) (raw)
set-user-execute ( path ? -- )
Unix file attributes » Unix file permissions
Prev: | set-user-write ( path ? -- ) |
---|---|
Next: | set-group-read ( path ? -- ) |
Inputs
path | a pathname string |
---|---|
? | a boolean |
Outputs
None
Word description
Sets the user execute bit of a file to true or false.
Definition
USING: io.files.info.unix.private kernel ;
: set-user-execute ( path ? -- )
USER-EXECUTE swap chmod-set-bit ;