CHMOD(I) 5/15/74 CHMOD(I)
NAME
chmod - change mode
SYNOPSIS
chmod octal file ...
DESCRIPTION
The octal mode replaces the mode of each of the files. The
mode is constructed from the OR of the following modes:
4000 set user ID on execution
2000 set group ID on execution
0400 read by owner
0200 write by owner
0100 execute (search in directory) by owner
0070 read, write, execute (search) by group
0007 read, write, execute (search) by others
Only the owner of a file (or the super-user) may change its
mode.
SEE ALSO
ls(I)
BUGS