Commit | Line | Data |
---|---|---|
11567ef5 KT |
1 | .pa 1 |
2 | .he 'CHMOD (I)'3/15/72'CHMOD (I)' | |
3 | .ti 0 | |
4 | NAME chmod -- change mode | |
5 | .sp | |
6 | .ti 0 | |
7 | SYNOPSIS chmod\b\b\b\b\b_____ octal file\e91\e8 ... | |
8 | .sp | |
9 | .ti 0 | |
10 | DESCRIPTION The octal mode | |
11 | replaces the mode of each of the files. | |
12 | The mode is constructed from the OR of the | |
13 | following modes: | |
14 | .sp | |
15 | .ti +3 | |
16 | 01 write for non-owner | |
17 | .ti +3 | |
18 | 02 read for non-owner | |
19 | .ti +3 | |
20 | 04 write for owner | |
21 | .ti +3 | |
22 | 10 read for owner | |
23 | .ti +3 | |
24 | 20 executable | |
25 | .ti +3 | |
26 | 40 set-UID | |
27 | .sp | |
28 | Only the owner of a file may change its mode. | |
29 | .sp | |
30 | .ti 0 | |
31 | FILES -- | |
32 | .sp | |
33 | .ti 0 | |
34 | SEE ALSO stat(I), ls(I) | |
35 | .sp | |
36 | .ti 0 | |
37 | DIAGNOSTICS "?" | |
38 | .sp | |
39 | .ti 0 | |
40 | BUGS -- |