Commit | Line | Data |
---|---|---|
e4c4b514 KT |
1 | .th CHMOD I 8/20/73 |
2 | .sh NAME | |
3 | chmod \*- change mode | |
4 | .sh SYNOPSIS | |
5 | .bd chmod | |
6 | octal file ... | |
7 | .sh DESCRIPTION | |
8 | The octal mode | |
9 | replaces the mode of each of the files. | |
10 | The mode is constructed from the OR of the | |
11 | following modes: | |
12 | .s3 | |
13 | .in +3 | |
14 | 4000 set user ID on execution | |
15 | 2000 set group ID on execution | |
16 | 0400 read by owner | |
17 | 0200 write by owner | |
18 | 0100 execute by owner | |
19 | 0070 read, write, execute by group | |
20 | 0007 read, write, execute by others | |
21 | .s3 | |
22 | .in -3 | |
23 | Only the owner of a file (or the super-user) may change its mode. | |
24 | .s3 | |
25 | .sh "SEE ALSO" | |
26 | ls(I) | |
27 | .s3 | |
28 | .sh BUGS |