DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: c

⟦257dfcc3a⟧

    Length: 8308 (0x2074)
    Names: »chmod.1«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat1/chmod.1« 

Default Hex Dump

0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f   ┆   _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 55 73 65 72 20 43 6f 6d 6d 61 6e   ┆ u_ a_ l             User Comman┆
0x0040…0060 64 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 6d 6f 64 28 31 29 0a 0a 0a 0a   ┆ds                  chmod(1)    ┆
0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20   ┆N N N NA A A AM M M ME E E E    ┆
0x0080…00a0 20 20 63 68 6d 6f 64 20 2d 20 63 68 61 6e 67 65 20 61 63 63 65 73 73 20 6d 6f 64 65 20 6f 66 20   ┆  chmod - change access mode of ┆
0x00a0…00c0 66 69 6c 65 20 6f 72 20 64 69 72 65 63 74 6f 72 79 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08   ┆file or directory  S S S SY Y Y ┆
0x00c0…00e0 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20   ┆YN N N NT T T TA A A AX X X X   ┆
0x00e0…0100 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 6d 08 6d 08 6d 08 6d 6f 08 6f 08 6f 08 6f 64   ┆   c c c ch h h hm m m mo o o od┆
0x0100…0120 08 64 08 64 08 64 20 6d 6f 64 65 20 66 69 6c 65 20 2e 2e 2e 0a 0a 44 08 44 08 44 08 44 45 08 45   ┆ d d d mode file ...  D D D DE E┆
0x0120…0140 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49   ┆ E ES S S SC C C CR R R RI I I I┆
0x0140…0160 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08   ┆P P P PT T T TI I I IO O O ON N ┆
0x0160…0180 4e 08 4e 0a 20 20 20 20 20 46 69 6c 65 20 61 6e 64 20 64 69 72 65 63 74 6f 72 79 20 6d 6f 64 65   ┆N N      File and directory mode┆
0x0180…01a0 73 20 28 61 63 63 65 73 73 20 70 65 72 6d 69 73 73 69 6f 6e 73 29 20 63 61 6e 20 62 65 20 63 68   ┆s (access permissions) can be ch┆
0x01a0…01c0 61 6e 67 65 64 0a 20 20 20 20 20 6f 6e 6c 79 20 62 79 20 74 68 65 20 6f 77 6e 65 72 2f 63 72 65   ┆anged      only by the owner/cre┆
0x01c0…01e0 61 74 6f 72 20 6f 66 20 74 68 65 20 66 69 6c 65 2c 20 6f 72 20 62 79 20 74 68 65 20 73 75 70 65   ┆ator of the file, or by the supe┆
0x01e0…0200 72 2d 75 73 65 72 2e 0a 0a 20 20 20 20 20 6d 08 6d 08 6d 08 6d 6f 08 6f 08 6f 08 6f 64 08 64 08   ┆r-user.       m m m mo o o od d ┆
0x0200…0220 64 08 64 65 08 65 08 65 08 65 20 20 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20 6e 65 77   ┆d de e e e     Specifies the new┆
0x0220…0240 20 6d 6f 64 65 20 75 73 69 6e 67 20 74 68 65 20 73 79 6d 62 6f 6c 73 20 64 65 73 63 72 69 62 65   ┆ mode using the symbols describe┆
0x0240…0260 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 65 6c 6f 77 20 6f 72 20 61 73 20 61 6e 20 6f   ┆d               below or as an o┆
0x0260…0280 63 74 61 6c 20 76 61 6c 75 65 2e 20 20 4d 75 6c 74 69 70 6c 65 20 73 79 6d 62 6f 6c 69 63 0a 20   ┆ctal value.  Multiple symbolic  ┆
0x0280…02a0 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 6f 64 65 73 20 61 72 65 20 65 78 65 63 75 74 65 64 20   ┆             modes are executed ┆
0x02a0…02c0 69 6e 20 74 68 65 20 6f 72 64 65 72 20 73 70 65 63 69 66 69 65 64 2c 20 61 6e 64 20 61 72 65 0a   ┆in the order specified, and are ┆
0x02c0…02e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 70 61 72 61 74 65 64 20 62 79 20 63 6f 6d 6d 61   ┆              separated by comma┆
0x02e0…0300 73 20 72 61 74 68 65 72 20 74 68 61 6e 20 73 70 61 63 65 73 2e 20 20 28 54 68 65 20 6f 63 74 61   ┆s rather than spaces.  (The octa┆
0x0300…0320 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 73 20 61 72 65 20 64 65 73 63 72   ┆l               values are descr┆
0x0320…0340 69 62 65 64 20 6c 61 74 65 72 20 69 6e 20 74 68 69 73 20 64 69 73 63 75 73 73 69 6f 6e 2e 29 0a   ┆ibed later in this discussion.) ┆
0x0340…0360 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 20 75 67 6f 61 20 5d 20 5b 20 2b   ┆                    [ ugoa ] [ +┆
0x0360…0380 2d 3d 20 5d 20 5b 20 72 77 78 73 74 75 67 6f 48 54 20 5d 0a 0a 20 20 20 20 20 20 20 20 20 20 20   ┆-= ] [ rwxstugoHT ]             ┆
0x0380…03a0 20 20 20 75 08 75 08 75 08 75 67 08 67 08 67 08 67 6f 08 6f 08 6f 08 6f 61 08 61 08 61 08 61 20   ┆   u u u ug g g go o o oa a a a ┆
0x03a0…03c0 20 20 20 20 20 65 6e 74 65 72 20 6f 6e 65 20 63 68 61 72 61 63 74 65 72 20 74 6f 20 73 70 65 63   ┆     enter one character to spec┆
0x03c0…03e0 69 66 79 20 77 68 6f 20 69 73 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 61 76 65   ┆ify who is to               have┆
0x03e0…0400 20 74 68 65 20 69 6e 64 69 63 61 74 65 64 20 70 65 72 6d 69 73 73 69 6f 6e 73 2e 0a 20 20 20 20   ┆ the indicated permissions.     ┆
0x0400…0420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 08 75 08 75 08 75 20 20 20 20 73 65 74 20 63 75   ┆               u u u u    set cu┆
0x0420…0440 72 72 65 6e 74 20 75 73 65 72 20 28 6f 77 6e 65 72 29 20 70 65 72 6d 69 73 73 69 6f 6e 73 0a 20   ┆rrent user (owner) permissions  ┆
0x0440…0460 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 08 67 08 67 08 67 20 20 20 20 73 65 74   ┆                  g g g g    set┆
0x0460…0480 20 67 72 6f 75 70 20 70 65 72 6d 69 73 73 69 6f 6e 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆ group permissions              ┆
0x0480…04a0 20 20 20 20 20 20 6f 08 6f 08 6f 08 6f 20 20 20 20 73 65 74 20 60 60 6f 74 68 65 72 27 27 20 70   ┆      o o o o    set ``other'' p┆
0x04a0…04c0 65 72 6d 69 73 73 69 6f 6e 73 2c 20 65 71 75 69 76 61 6c 65 6e 74 20 6f 66 20 60 60 70 75 62 6c   ┆ermissions, equivalent of ``publ┆
0x04c0…04e0 69 63 27 27 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 08 61 08 61 08 61 20   ┆ic''                    a a a a ┆
0x04e0…0500 20 20 20 73 65 74 20 60 60 61 6c 6c 27 27 20 70 65 72 6d 69 73 73 69 6f 6e 73 2c 20 65 71 75 69   ┆   set ``all'' permissions, equi┆
0x0500…0520 76 61 6c 65 6e 74 20 6f 66 20 75 73 65 72 2c 20 67 72 6f 75 70 2c 20 61 6e 64 20 6f 74 68 65 72   ┆valent of user, group, and other┆
0x0520…0540 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20 64 65 66 61 75 6c 74 20 69 73 20 60 61   ┆               The default is `a┆
0x0540…0560 27 20 28 61 6c 6c 29 2c 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 74 68 65 20 73 65 74 74 69 6e   ┆' (all), depending on the settin┆
0x0560…0580 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 66 20 74 68 65 20 66 69 6c 65 20 63 72 65 61   ┆g               of the file crea┆
0x0580…05a0 74 69 6f 6e 20 6d 61 73 6b 2e 20 20 54 68 65 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 74   ┆tion mask.  The description of t┆
0x05a0…05c0 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 75 5f 08 6d 5f 08 61 5f 08 73 5f 08 6b   ┆he               _ u_ m_ a_ s_ k┆
0x05c0…05e0 20 73 79 73 74 65 6d 20 63 61 6c 6c 20 68 61 73 20 6d 6f 72 65 20 69 6e 66 6f 72 6d 61 74 69 6f   ┆ system call has more informatio┆
0x05e0…0600 6e 20 61 62 6f 75 74 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 73 6b 2e 0a   ┆n about the               mask. ┆
0x0600…0620 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2b 08 2b 08 2b 08 2b 20 2d 08 2d 08 2d 08 2d 20 3d   ┆               + + + + - - - - =┆
0x0620…0640 08 3d 08 3d 08 3d 20 20 20 20 20 20 20 20 20 20 65 6e 74 65 72 20 6f 6e 65 20 63 68 61 72 61 63   ┆ = = =          enter one charac┆
0x0640…0660 74 65 72 20 74 6f 20 73 70 65 63 69 66 79 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆ter to specify the              ┆
0x0660…0680 20 61 63 74 69 6f 6e 3a 20 20 20 20 61 64 64 20 28 2b 29 2c 20 73 75 62 74 72 61 63 74 28 2d 29   ┆ action:    add (+), subtract(-)┆
0x0680…06a0 2c 20 6f 72 20 73 65 74 20 74 68 65 20 6e 61 6d 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆, or set the named              ┆
0x06a0…06c0 20 70 65 72 6d 69 73 73 69 6f 6e 73 20 72 65 67 61 72 64 6c 65 73 73 20 6f 66 20 63 75 72 72 65   ┆ permissions regardless of curre┆
0x06c0…06e0 6e 74 20 70 65 72 6d 69 73 73 69 6f 6e 73 20 28 3d 29 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20   ┆nt permissions (=)              ┆
0x06e0…0700 20 20 72 08 72 08 72 08 72 77 08 77 08 77 08 77 78 08 78 08 78 08 78 73 08 73 08 73 08 73 74 08   ┆  r r r rw w w wx x x xs s s st ┆
0x0700…0720 74 08 74 08 74 75 08 75 08 75 08 75 67 08 67 08 67 08 67 6f 08 6f 08 6f 08 6f 48 08 48 08 48 08   ┆t t tu u u ug g g go o o oH H H ┆
0x0720…0740 48 54 08 54 08 54 08 54 20 20 20 20 20 74 65 6c 6c 73 20 77 68 69 63 68 20 70 65 72 6d 69 73 73   ┆HT T T T     tells which permiss┆
0x0740…0760 69 6f 6e 73 20 61 72 65 20 74 6f 20 62 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74   ┆ions are to be               set┆
0x0760…0780 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 08 72 08 72 08 72 20 20 20 20 73   ┆                    r r r r    s┆
0x0780…07a0 65 74 20 72 65 61 64 20 70 65 72 6d 69 73 73 69 6f 6e 73 0a 20 20 20 20 20 20 20 20 20 20 20 20   ┆et read permissions             ┆
0x07a0…07c0 20 20 20 20 20 20 20 77 08 77 08 77 08 77 20 20 20 20 73 65 74 20 77 72 69 74 65 20 70 65 72 6d   ┆       w w w w    set write perm┆
0x07c0…07e0 69 73 73 69 6f 6e 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 78 08 78 08 78   ┆issions                    x x x┆
0x07e0…0800 08 78 20 20 20 20 73 65 74 20 65 78 65 63 75 74 65 20 70 65 72 6d 69 73 73 69 6f 6e 73 0a 20 20   ┆ x    set execute permissions   ┆
0x0800…0820 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 08 73 08 73 08 73 20 20 20 20 73 65 74 20   ┆                 s s s s    set ┆
0x0820…0840 53 45 54 49 44 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 08 74 08 74 08   ┆SETID.                    t t t ┆
0x0840…0860 74 20 20 20 20 73 65 74 20 60 60 73 74 69 63 6b 79 27 27 20 62 69 74 0a 20 20 20 20 20 20 20 20   ┆t    set ``sticky'' bit         ┆
0x0860…0880 20 20 20 20 20 20 20 20 20 20 20 75 08 75 08 75 08 75 67 08 67 08 67 08 67 6f 08 6f 08 6f 08 6f   ┆           u u u ug g g go o o o┆
0x0880…08a0 20 20 73 65 74 20 70 65 72 6d 69 73 73 69 6f 6e 73 20 61 73 20 63 75 72 72 65 6e 74 6c 79 20 73   ┆  set permissions as currently s┆
0x08a0…08c0 65 74 20 66 6f 72 20 75 73 65 72 2c 20 67 72 6f 75 70 2c 20 6f 72 20 6f 77 6e 65 72 0a 20 20 20   ┆et for user, group, or owner    ┆
0x08c0…08e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 48 08 48 08 48 08 48 20 20 20 20 46 75 74 75 72   ┆                H H H H    Futur┆
0x08e0…0900 65 20 52 65 6c 65 61 73 65 3a 20 20 53 65 74 2f 63 6c 65 61 72 20 68 69 73 74 6f 72 79 20 53 5f   ┆e Release:  Set/clear history S_┆
0x0900…0920 49 48 49 53 54 4f 52 59 20 66 6c 61 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆IHISTORY flag                   ┆
0x0920…0940 20 54 08 54 08 54 08 54 20 20 20 20 53 65 74 2f 63 6c 65 61 72 20 74 72 61 6e 73 61 63 74 69 6f   ┆ T T T T    Set/clear transactio┆
0x0940…0960 6e 20 53 5f 49 53 45 43 55 52 45 20 66 6c 61 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4e   ┆n S_ISECURE flag               N┆
0x0960…0980 6f 74 65 3a 20 20 54 68 65 20 48 20 61 6e 64 20 54 20 66 6c 61 67 73 20 63 61 6e 6e 6f 74 20 62   ┆ote:  The H and T flags cannot b┆
0x0980…09a0 65 20 73 65 74 20 62 79 20 6f 63 74 61 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c   ┆e set by octal               val┆
0x09a0…09c0 75 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4e 6f 74 65 3a 20 20 54 68 65 20 60 60 73   ┆ue.               Note:  The ``s┆
0x09c0…09e0 74 69 63 6b 79 27 27 20 62 69 74 20 6d 61 79 20 62 65 20 73 65 74 2c 20 62 75 74 20 68 61 73 20   ┆ticky'' bit may be set, but has ┆
0x09e0…0a00 6e 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 66 66 65 63 74 20 75 6e 64 65 72 20 54 58   ┆no               effect under TX┆
0x0a00…0a20 2e 0a 0a 20 20 20 20 20 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65   ┆.       f f f fi i i il l l le e┆
0x0a20…0a40 08 65 08 65 20 2e 08 2e 08 2e 08 2e 2e 08 2e 08 2e 08 2e 2e 08 2e 08 2e 08 2e 20 4e 61 6d 65 73   ┆ e e . . . .. . . .. . . . Names┆
0x0a40…0a60 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 20 66 69 6c 65 73 20 6f 72 20 64 69 72 65 63 74 6f 72 69 65   ┆ one or more files or directorie┆
0x0a60…0a80 73 2e 0a 0a 20 20 20 20 20 55 08 55 08 55 08 55 73 08 73 08 73 08 73 69 08 69 08 69 08 69 6e 08   ┆s.       U U U Us s s si i i in ┆
0x0a80…0aa0 6e 08 6e 08 6e 67 08 67 08 67 08 67 20 4f 08 4f 08 4f 08 4f 63 08 63 08 63 08 63 74 08 74 08 74   ┆n n ng g g g O O O Oc c c ct t t┆
0x0aa0…0ac0 08 74 61 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 20 4e 08 4e 08 4e 08 4e 6f 08 6f 08 6f 08 6f 74   ┆ ta a a al l l l N N N No o o ot┆
0x0ac0…0ae0 08 74 08 74 08 74 61 08 61 08 61 08 61 74 08 74 08 74 08 74 69 08 69 08 69 08 69 6f 08 6f 08 6f   ┆ t t ta a a at t t ti i i io o o┆
0x0ae0…0b00 08 6f 6e 08 6e 08 6e 08 6e 0a 20 20 20 20 20 49 6e 20 6f 63 74 61 6c 20 6e 6f 74 61 74 69 6f 6e   ┆ on n n n      In octal notation┆
0x0b00…0b20 2c 20 72 65 61 64 2c 20 77 72 69 74 65 2c 20 61 6e 64 20 65 78 65 63 75 74 65 20 70 65 72 6d 69   ┆, read, write, and execute permi┆
0x0b20…0b40 73 73 69 6f 6e 73 0a 20 20 20 20 20 63 6f 72 72 65 73 70 6f 6e 64 20 74 6f 20 74 68 65 20 66 6f   ┆ssions      correspond to the fo┆
0x0b40…0b60 6c 6c 6f 77 69 6e 67 20 76 61 6c 75 65 73 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 6f 77 6e 65 72   ┆llowing values:            owner┆
0x0b60…0b80 20 20 20 20 20 20 20 20 20 20 6f 63 74 61 6c 20 76 61 6c 75 65 0a 20 20 20 20 20 20 20 20 20 20   ┆          octal value           ┆
0x0b80…0ba0 20 20 20 72 20 20 20 20 20 20 20 20 20 34 30 30 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 77 20   ┆   r         400              w ┆
0x0ba0…0bc0 20 20 20 20 20 20 20 20 32 30 30 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 78 20 20 20 20 20 20   ┆        200              x      ┆
0x0bc0…0be0 20 20 20 31 30 30 0a 20 20 20 20 20 20 20 20 20 20 67 72 6f 75 70 20 20 20 20 20 20 20 20 20 20   ┆   100           group          ┆
0x0be0…0c00 6f 63 74 61 6c 20 76 61 6c 75 65 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 72   ┆octal value                    r┆
0x0c00…0c20 20 20 20 20 20 20 20 20 20 20 34 30 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 77 20 20 20 20 20   ┆          40              w     ┆
0x0c20…0c40 20 20 20 20 20 32 30 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 78 20 20 20 20 20 20 20 20 20 20   ┆     20              x          ┆
0x0c40…0c60 31 30 0a 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 20 20 20 20 20 20 20 20 6f 63 74 61   ┆10           public         octa┆
0x0c60…0c80 6c 20 76 61 6c 75 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 72 20 20 20 20 20 20 20 20 20 20   ┆l value              r          ┆
0x0c80…0ca0 20 34 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 77 20 20 20 20 20 20 20 20 20 20 20 32 0a 20 20   ┆ 4              w           2   ┆
0x0ca0…0cc0 20 20 20 20 20 20 20 20 20 20 20 78 20 20 20 20 20 20 20 20 20 20 20 31 0a 20 20 20 20 20 20 20   ┆           x           1        ┆
0x0cc0…0ce0 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0a 20 20 20 20 20 20   ┆             ____________       ┆
0x0ce0…0d00 20 20 20 20 54 6f 74 61 6c 20 20 20 20 20 20 20 20 20 20 20 20 36 37 37 37 0a 0a 20 20 20 20 20   ┆    Total            6777       ┆
0x0d00…0d20 54 6f 20 63 68 61 6e 67 65 20 74 68 65 20 6d 6f 64 65 20 6f 66 20 61 20 66 69 6c 65 20 6f 72 20   ┆To change the mode of a file or ┆
0x0d20…0d40 64 69 72 65 63 74 6f 72 79 20 75 73 69 6e 67 20 6f 63 74 61 6c 20 6e 6f 74 61 2d 0a 20 20 20 20   ┆directory using octal nota-     ┆
0x0d40…0d60 20 74 69 6f 6e 2c 20 61 64 64 20 74 68 65 20 6f 63 74 61 6c 20 76 61 6c 75 65 73 20 66 6f 72 20   ┆ tion, add the octal values for ┆
0x0d60…0d80 64 65 73 69 72 65 64 20 70 65 72 6d 69 73 73 69 6f 6e 73 2c 20 61 6e 64 0a 20 20 20 20 20 65 6e   ┆desired permissions, and      en┆
0x0d80…0da0 74 65 72 20 74 68 61 74 20 74 6f 74 61 6c 20 69 6e 20 74 68 65 20 5f 08 63 5f 08 68 5f 08 6d 5f   ┆ter that total in the _ c_ h_ m_┆
0x0da0…0dc0 08 6f 5f 08 64 20 63 6f 6d 6d 61 6e 64 20 6c 69 6e 65 2e 20 20 54 68 65 20 66 6f 6c 6c 6f 77 69   ┆ o_ d command line.  The followi┆
0x0dc0…0de0 6e 67 0a 20 20 20 20 20 6f 63 74 61 6c 20 6e 75 6d 62 65 72 73 20 63 6f 72 72 65 73 70 6f 6e 64   ┆ng      octal numbers correspond┆
0x0de0…0e00 20 74 6f 20 72 65 61 64 2c 20 77 72 69 74 65 2c 20 61 6e 64 20 65 78 65 63 75 74 65 20 6f 77 6e   ┆ to read, write, and execute own┆
0x0e00…0e20 65 72 0a 20 20 20 20 20 70 65 72 6d 69 73 73 69 6f 6e 73 20 61 6e 64 20 72 65 61 64 2d 6f 6e 6c   ┆er      permissions and read-onl┆
0x0e20…0e40 79 20 66 6f 72 20 67 72 6f 75 70 20 61 6e 64 20 70 75 62 6c 69 63 20 75 73 65 2e 0a 0a 20 20 20   ┆y for group and public use.     ┆
0x0e40…0e60 20 20 20 20 20 20 20 6f 77 6e 65 72 20 20 20 20 20 20 20 20 20 20 6f 63 74 61 6c 20 76 61 6c 75   ┆       owner          octal valu┆
0x0e60…0e80 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 72 20 20 20 20 20 20 20 20 20 34 30 30 0a 20 20 20   ┆e              r         400    ┆
0x0e80…0ea0 20 20 20 20 20 20 20 20 20 20 77 20 20 20 20 20 20 20 20 20 32 30 30 0a 20 20 20 20 20 20 20 20   ┆          w         200         ┆
0x0ea0…0ec0 20 20 20 20 20 78 20 20 20 20 20 20 20 20 20 31 30 30 0a 20 20 20 20 20 20 20 20 20 20 67 72 6f   ┆     x         100           gro┆
0x0ec0…0ee0 75 70 20 20 20 20 20 20 20 20 20 20 6f 63 74 61 6c 20 76 61 6c 75 65 0a 20 20 20 20 20 20 20 20   ┆up          octal value         ┆
0x0ee0…0f00 20 20 20 20 20 72 20 20 20 20 20 20 20 20 20 20 34 30 0a 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆     r          40              ┆
0x0f00…0f20 77 20 20 20 20 20 20 20 20 20 20 20 30 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 78 20 20 20 20   ┆w           0              x    ┆
0x0f20…0f40 20 20 20 20 20 20 20 30 0a 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 20 20 20 20 20 20   ┆       0           public       ┆
0x0f40…0f60 20 20 6f 63 74 61 6c 20 76 61 6c 75 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 72 20 20 20 20   ┆  octal value              r    ┆
0x0f60…0f80 20 20 20 20 20 20 20 34 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 77 20 20 20 20 20 20 20 20 20   ┆       4              w         ┆
0x0f80…0fa0 20 20 30 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 78 20 20 20 20 20 20 20 20 20 20 20 30 0a 20   ┆  0              x           0  ┆
0x0fa0…0fc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0a   ┆                   ____________ ┆
0x0fc0…0fe0 20 20 20 20 20 20 20 20 20 20 54 6f 74 61 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 37 34 34 0a   ┆          Total             744 ┆
0x0fe0…1000 0a 20 20 20 20 20 54 68 75 73 2c 20 37 34 34 20 67 69 76 65 73 20 72 65 61 64 2d 77 72 69 74 65   ┆      Thus, 744 gives read-write┆
0x1000…1020 2d 65 78 65 63 75 74 65 20 70 65 72 6d 69 73 73 69 6f 6e 20 74 6f 20 6f 77 6e 65 72 2c 20 61 6e   ┆-execute permission to owner, an┆
0x1020…1040 64 0a 20 20 20 20 20 72 65 61 64 2d 6f 6e 6c 79 20 70 65 72 6d 69 73 73 69 6f 6e 20 74 6f 20 74   ┆d      read-only permission to t┆
0x1040…1060 68 65 20 67 72 6f 75 70 20 61 6e 64 20 61 6c 6c 20 6f 74 68 65 72 73 2e 0a 0a 20 20 20 20 20 53   ┆he group and all others.       S┆
0x1060…1080 08 53 08 53 08 53 45 08 45 08 45 08 45 54 08 54 08 54 08 54 49 08 49 08 49 08 49 44 08 44 08 44   ┆ S S SE E E ET T T TI I I ID D D┆
0x1080…10a0 08 44 0a 20 20 20 20 20 53 65 74 74 69 6e 67 20 53 45 54 49 44 20 61 6c 6c 6f 77 73 20 6f 74 68   ┆ D      Setting SETID allows oth┆
0x10a0…10c0 65 72 73 20 74 6f 20 68 61 76 65 20 74 68 65 20 73 61 6d 65 20 70 65 72 6d 69 73 73 69 6f 6e 73   ┆ers to have the same permissions┆
0x10c0…10e0 20 61 73 0a 20 20 20 20 20 6f 77 6e 65 72 20 64 75 72 69 6e 67 20 65 78 65 63 75 74 69 6f 6e 2e   ┆ as      owner during execution.┆
0x10e0…1100 20 20 41 70 70 65 61 72 73 20 69 6e 20 60 78 27 20 70 6f 73 69 74 69 6f 6e 20 6f 6e 20 5f 08 6c   ┆  Appears in `x' position on _ l┆
0x1100…1120 5f 08 73 20 2d 5f 08 6c 0a 20 20 20 20 20 63 6f 6d 6d 61 6e 64 20 6f 75 74 70 75 74 2e 20 20 54   ┆_ s -_ l      command output.  T┆
0x1120…1140 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 6f 63 74 61 6c 20 76 61 6c 75 65 73 20 61 72 65 20 75 73   ┆he following octal values are us┆
0x1140…1160 65 64 20 66 6f 72 0a 20 20 20 20 20 73 65 74 74 69 6e 67 20 53 45 54 49 44 3a 0a 0a 20 20 20 20   ┆ed for      setting SETID:      ┆
0x1160…1180 20 20 20 20 20 20 34 30 30 30 20 20 20 20 20 20 53 65 74 20 75 73 65 72 2d 49 44 20 6f 6e 20 65   ┆      4000      Set user-ID on e┆
0x1180…11a0 78 65 63 75 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 32 30 30 30 20 20 20 20 20 20 53 65 74   ┆xecution           2000      Set┆
0x11a0…11c0 20 67 72 6f 75 70 2d 49 44 20 6f 6e 20 65 78 65 63 75 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20   ┆ group-ID on execution          ┆
0x11c0…11e0 20 31 30 30 30 20 20 20 20 20 20 53 61 76 65 20 74 65 78 74 20 69 6d 61 67 65 20 61 66 74 65 72   ┆ 1000      Save text image after┆
0x11e0…1200 20 65 78 65 63 75 74 69 6f 6e 0a 0a 20 20 20 20 20 53 65 65 20 5f 08 63 5f 08 68 5f 08 6d 5f 08   ┆ execution       See _ c_ h_ m_ ┆
0x1200…1220 6f 5f 08 64 20 63 61 6c 6c 20 69 6e 20 54 08 54 08 54 08 54 58 08 58 08 58 08 58 20 50 08 50 08   ┆o_ d call in T T T TX X X X P P ┆
0x1220…1240 50 08 50 72 08 72 08 72 08 72 6f 08 6f 08 6f 08 6f 67 08 67 08 67 08 67 72 08 72 08 72 08 72 61   ┆P Pr r r ro o o og g g gr r r ra┆
0x1240…1260 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 72 08 72 08 72   ┆ a a am m m mm m m me e e er r r┆
0x1260…1280 08 72 27 08 27 08 27 08 27 73 08 73 08 73 08 73 20 52 08 52 08 52 08 52 65 08 65 08 65 08 65 66   ┆ r' ' ' 's s s s R R R Re e e ef┆
0x1280…12a0 08 66 08 66 08 66 65 08 65 08 65 08 65 72 08 72 08 72 08 72 65 08 65 08 65 08 65 6e 08 6e 08 6e   ┆ f f fe e e er r r re e e en n n┆
0x12a0…12c0 08 6e 63 08 63 08 63 08 63 65 08 65 08 65 08 65 2e 0a 0a 20 20 20 20 20 45 08 45 08 45 08 45 78   ┆ nc c c ce e e e.       E E E Ex┆
0x12c0…12e0 08 78 08 78 08 78 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 70 08 70 08 70 08 70 6c 08 6c 08 6c   ┆ x x xa a a am m m mp p p pl l l┆
0x12e0…1300 08 6c 65 08 65 08 65 08 65 0a 20 20 20 20 20 54 6f 20 63 68 61 6e 67 65 20 74 68 65 20 66 6f 6c   ┆ le e e e      To change the fol┆
0x1300…1320 6c 6f 77 69 6e 67 20 60 60 67 72 6f 75 70 27 27 20 61 6e 64 20 60 60 6f 74 68 65 72 27 27 20 70   ┆lowing ``group'' and ``other'' p┆
0x1320…1340 65 72 6d 69 73 73 69 6f 6e 73 0a 20 20 20 20 20 74 6f 20 72 65 61 64 2d 6f 6e 6c 79 2c 20 75 73   ┆ermissions      to read-only, us┆
0x1340…1360 65 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 5f 08 63 5f 08 68 5f 08 6d 5f 08 6f 5f 08 64 20   ┆e the following _ c_ h_ m_ o_ d ┆
0x1360…1380 63 6f 6d 6d 61 6e 64 2e 0a 20 20 20 20 20 20 20 20 20 20 2d 72 77 2d 72 77 2d 72 77 2d 0a 0a 20   ┆command.           -rw-rw-rw-   ┆
0x1380…13a0 20 20 20 20 20 20 20 20 20 63 68 6d 6f 64 20 61 3d 72 2c 75 2b 77 0a 0a 20 20 20 20 20 61 3d 72   ┆         chmod a=r,u+w       a=r┆
0x13a0…13c0 20 20 67 69 76 65 73 20 72 65 61 64 20 61 63 63 65 73 73 20 74 6f 20 74 68 65 20 75 73 65 72 2c   ┆  gives read access to the user,┆
0x13c0…13e0 20 67 72 6f 75 70 20 61 6e 64 20 6f 74 68 65 72 2e 0a 20 20 20 20 20 28 52 65 6d 6f 76 65 73 20   ┆ group and other.      (Removes ┆
0x13e0…1400 61 6c 6c 20 6f 74 68 65 72 20 70 65 72 6d 69 73 73 69 6f 6e 73 2e 29 0a 0a 20 20 20 20 20 75 2b   ┆all other permissions.)       u+┆
0x1400…1420 77 20 20 67 69 76 65 73 20 61 64 64 69 74 69 6f 6e 61 6c 20 77 72 69 74 65 20 61 63 63 65 73 73   ┆w  gives additional write access┆
0x1420…1440 20 74 6f 20 74 68 65 20 75 73 65 72 2e 0a 0a 20 20 20 20 20 43 08 43 08 43 08 43 6f 08 6f 08 6f   ┆ to the user.       C C C Co o o┆
0x1440…1460 08 6f 6d 08 6d 08 6d 08 6d 6d 08 6d 08 6d 08 6d 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 20 4d   ┆ om m m mm m m mo o o on n n n M┆
0x1460…1480 08 4d 08 4d 08 4d 6f 08 6f 08 6f 08 6f 64 08 64 08 64 08 64 65 08 65 08 65 08 65 73 08 73 08 73   ┆ M M Mo o o od d d de e e es s s┆
0x1480…14a0 08 73 0a 20 20 20 20 20 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 68 61 72 74 20 6c 69 73 74   ┆ s      The following chart list┆
0x14a0…14c0 73 20 73 65 76 65 72 61 6c 20 63 6f 6d 6d 6f 6e 20 64 69 72 65 63 74 6f 72 79 20 61 6e 64 20 66   ┆s several common directory and f┆
0x14c0…14e0 69 6c 65 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 6d 6f 64 65 73 20 77 69 74 68 20 63 6f 72 72 65 73   ┆ile            modes with corres┆
0x14e0…1500 70 6f 6e 64 69 6e 67 20 6f 63 74 61 6c 20 61 6e 64 20 73 79 6d 62 6f 6c 69 63 20 6e 6f 74 61 74   ┆ponding octal and symbolic notat┆
0x1500…1520 69 6f 6e 73 2e 20 20 54 68 65 0a 20 20 20 20 20 63 68 61 72 74 20 61 73 73 75 6d 65 73 20 74 68   ┆ions.  The      chart assumes th┆
0x1520…1540 61 74 20 74 68 65 20 65 78 69 73 74 69 6e 67 20 66 69 6c 65 20 6d 6f 64 65 73 20 61 72 65 20 72   ┆at the existing file modes are r┆
0x1540…1560 65 61 64 2f 77 72 69 74 65 20 62 79 0a 20 20 20 20 20 74 68 65 20 6f 77 6e 65 72 20 61 6e 64 20   ┆ead/write by      the owner and ┆
0x1560…1580 72 65 61 64 2d 6f 6e 6c 79 20 62 79 20 67 72 6f 75 70 20 61 6e 64 20 70 75 62 6c 69 63 2e 20 20   ┆read-only by group and public.  ┆
0x1580…15a0 28 54 68 65 20 73 79 73 74 65 6d 0a 20 20 20 20 20 64 65 66 61 75 6c 74 20 69 73 20 6d 6f 64 65   ┆(The system      default is mode┆
0x15a0…15c0 20 36 34 34 2e 29 0a 0a 20 20 20 20 20 20 20 20 20 20 5f 08 50 5f 08 65 5f 08 72 5f 08 6d 5f 08   ┆ 644.)            _ P_ e_ r_ m_ ┆
0x15c0…15e0 69 5f 08 73 5f 08 73 5f 08 69 5f 08 6f 5f 08 6e 5f 08 73 20 20 20 20 20 20 20 20 20 5f 08 4f 5f   ┆i_ s_ s_ i_ o_ n_ s         _ O_┆
0x15e0…1600 08 63 5f 08 74 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 5f 08 53 5f 08 79 5f 08 6d 5f 08   ┆ c_ t_ a_ l          _ S_ y_ m_ ┆
0x1600…1620 62 5f 08 6f 5f 08 6c 5f 08 69 5f 08 63 0a 0a 20 20 20 20 20 52 65 61 64 2f 77 72 69 74 65 20 66   ┆b_ o_ l_ i_ c       Read/write f┆
0x1620…1640 6f 72 20 6f 77 6e 65 72 2c 20 6e 6f 20 20 20 20 20 20 36 30 30 20 20 20 20 20 20 20 75 3d 72 2c   ┆or owner, no      600       u=r,┆
0x1640…1660 75 2b 77 2c 67 2d 72 2c 6f 2d 72 0a 20 20 20 20 20 61 63 63 65 73 73 20 62 79 20 67 72 6f 75 70   ┆u+w,g-r,o-r      access by group┆
0x1660…1680 20 6f 72 20 70 75 62 6c 69 63 0a 0a 20 20 20 20 20 52 65 61 64 2f 77 72 69 74 65 20 66 6f 72 20   ┆ or public       Read/write for ┆
0x1680…16a0 6f 77 6e 65 72 2c 20 72 65 61 64 2d 20 20 20 36 34 34 20 20 20 20 20 20 20 28 64 65 66 61 75 6c   ┆owner, read-   644       (defaul┆
0x16a0…16c0 74 29 0a 20 20 20 20 20 6f 6e 6c 79 20 66 6f 72 20 67 72 6f 75 70 20 61 6e 64 20 70 75 62 6c 69   ┆t)      only for group and publi┆
0x16c0…16e0 63 0a 0a 20 20 20 20 20 52 65 61 64 2f 77 72 69 74 65 2f 65 78 65 63 75 74 65 20 66 6f 72 20 20   ┆c       Read/write/execute for  ┆
0x16e0…1700 20 20 20 20 20 20 37 34 34 20 20 20 20 20 20 20 75 2b 78 0a 20 20 20 20 20 6f 77 6e 65 72 2c 20   ┆      744       u+x      owner, ┆
0x1700…1720 72 65 61 64 2d 6f 6e 6c 79 20 66 6f 72 20 67 72 6f 75 70 0a 20 20 20 20 20 61 6e 64 20 70 75 62   ┆read-only for group      and pub┆
0x1720…1740 6c 69 63 0a 0a 20 20 20 20 20 52 65 61 64 2f 77 72 69 74 65 2f 65 78 65 63 75 74 65 20 66 6f 72   ┆lic       Read/write/execute for┆
0x1740…1760 20 20 20 20 20 20 20 20 37 31 31 20 20 20 20 20 20 20 75 3d 78 2c 75 2b 72 77 0a 20 20 20 20 20   ┆        711       u=x,u+rw      ┆
0x1760…1780 6f 77 6e 65 72 2c 20 65 78 65 63 75 74 65 2d 6f 6e 6c 79 20 66 6f 72 0a 20 20 20 20 20 67 72 6f   ┆owner, execute-only for      gro┆
0x1780…17a0 75 70 20 61 6e 64 20 70 75 62 6c 69 63 0a 0a 20 20 20 20 20 52 65 61 64 2d 6f 6e 6c 79 20 66 6f   ┆up and public       Read-only fo┆
0x17a0…17c0 72 20 6f 77 6e 65 72 2c 20 67 72 6f 75 70 2c 20 20 20 34 34 34 20 20 20 20 20 20 20 75 2d 77 0a   ┆r owner, group,   444       u-w ┆
0x17c0…17e0 20 20 20 20 20 61 6e 64 20 70 75 62 6c 69 63 0a 0a 20 20 20 20 20 52 65 61 64 2f 77 72 69 74 65   ┆     and public       Read/write┆
0x17e0…1800 20 66 6f 72 20 6f 77 6e 65 72 20 61 6e 64 20 36 36 34 20 20 20 20 20 20 20 67 2b 77 0a 20 20 20   ┆ for owner and 664       g+w    ┆
0x1800…1820 20 20 67 72 6f 75 70 2c 20 72 65 61 64 2d 6f 6e 6c 79 20 66 6f 72 20 70 75 62 6c 69 63 0a 0a 20   ┆  group, read-only for public   ┆
0x1820…1840 20 20 20 20 44 08 44 08 44 08 44 65 08 65 08 65 08 65 74 08 74 08 74 08 74 65 08 65 08 65 08 65   ┆    D D D De e e et t t te e e e┆
0x1840…1860 72 08 72 08 72 08 72 6d 08 6d 08 6d 08 6d 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 69 08 69 08   ┆r r r rm m m mi i i in n n ni i ┆
0x1860…1880 69 08 69 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 20 50 08 50 08 50 08 50 65 08 65 08 65 08 65   ┆i in n n ng g g g P P P Pe e e e┆
0x1880…18a0 72 08 72 08 72 08 72 6d 08 6d 08 6d 08 6d 69 08 69 08 69 08 69 73 08 73 08 73 08 73 73 08 73 08   ┆r r r rm m m mi i i is s s ss s ┆
0x18a0…18c0 73 08 73 69 08 69 08 69 08 69 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 73 08 73 08 73 08 73 0a   ┆s si i i io o o on n n ns s s s ┆
0x18c0…18e0 20 20 20 20 20 50 65 72 6d 69 73 73 69 6f 6e 73 20 66 6f 72 20 66 69 6c 65 73 20 61 72 65 20 64   ┆     Permissions for files are d┆
0x18e0…1900 69 73 70 6c 61 79 65 64 20 77 69 74 68 20 74 68 65 20 5f 08 6c 5f 08 73 20 2d 5f 08 6c 20 63 6f   ┆isplayed with the _ l_ s -_ l co┆
0x1900…1920 6d 6d 61 6e 64 2e 0a 20 20 20 20 20 54 68 65 20 66 69 72 73 74 20 31 30 20 63 68 61 72 61 63 74   ┆mmand.      The first 10 charact┆
[…truncated at 200 lines…]