Handbook
Glossary
Unix file permissions
Unix file attributes
Next:
Unix file timestamps
Reading all file permissions:
file-permissions
( path -- n )
Reading individual file permissions:
uid?
( obj -- ? )
gid?
( obj -- ? )
sticky?
( obj -- ? )
user-read?
( obj -- ? )
user-write?
( obj -- ? )
user-execute?
( obj -- ? )
group-read?
( obj -- ? )
group-write?
( obj -- ? )
group-execute?
( obj -- ? )
other-read?
( obj -- ? )
other-write?
( obj -- ? )
other-execute?
( obj -- ? )
Changing file permissions:
add-file-permissions
( path n -- )
remove-file-permissions
( path n -- )
set-file-permissions
( path n -- )
Writing individual file permissions:
set-uid
( path ? -- )
set-gid
( path ? -- )
set-sticky
( path ? -- )
set-user-read
( path ? -- )
set-user-write
( path ? -- )
set-user-execute
( path ? -- )
set-group-read
( path ? -- )
set-group-write
( path ? -- )
set-group-execute
( path ? -- )
set-other-read
( path ? -- )
set-other-write
( path ? -- )
set-other-execute
( path ? -- )