Research V4 development
[unix-history] / man / man1 / chmod.1
.th CHMOD I 8/20/73
.sh NAME
chmod \*- change mode
.sh SYNOPSIS
.bd chmod
octal file ...
.sh DESCRIPTION
The octal mode
replaces the mode of each of the files.
The mode is constructed from the OR of the
following modes:
.s3
.in +3
4000 set user ID on execution
2000 set group ID on execution
0400 read by owner
0200 write by owner
0100 execute by owner
0070 read, write, execute by group
0007 read, write, execute by others
.s3
.in -3
Only the owner of a file (or the super-user) may change its mode.
.s3
.sh "SEE ALSO"
ls(I)
.s3
.sh BUGS