home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / v22 / 140 < prev    next >
Mailbox/MIME Entity  |  1991-03-07  |  1.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file Mailbox text, 1st line "From jsq@cs.utexas.edu Wed Mar 6 18:36:16 1991", ASCII text default
100% TrID E-Mail message (Var. 2) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried x-fmt/111 Plain Text File default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime application/mbox default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 6a 73 71 | 40 63 73 2e 75 74 65 78 |From jsq|@cs.utex|
|00000010| 61 73 2e 65 64 75 20 20 | 57 65 64 20 4d 61 72 20 |as.edu |Wed Mar |
|00000020| 20 36 20 31 38 3a 33 36 | 3a 31 36 20 31 39 39 31 | 6 18:36|:16 1991|
|00000030| 0a 52 65 63 65 69 76 65 | 64 3a 20 62 79 20 75 75 |.Receive|d: by uu|
|00000040| 6e 65 74 2e 75 75 2e 6e | 65 74 20 77 69 74 68 20 |net.uu.n|et with |
|00000050| 55 55 43 50 20 28 35 2e | 36 31 2f 55 55 4e 45 54 |UUCP (5.|61/UUNET|
|00000060| 2d 70 72 69 6d 61 72 79 | 2d 67 61 74 65 77 61 79 |-primary|-gateway|
|00000070| 29 0a 09 69 64 20 41 41 | 30 33 36 30 34 3b 20 57 |)..id AA|03604; W|
|00000080| 65 64 2c 20 36 20 4d 61 | 72 20 39 31 20 31 38 3a |ed, 6 Ma|r 91 18:|
|00000090| 33 36 3a 31 36 20 2d 30 | 35 30 30 0a 52 65 63 65 |36:16 -0|500.Rece|
|000000a0| 69 76 65 64 3a 20 62 79 | 20 63 73 2e 75 74 65 78 |ived: by| cs.utex|
|000000b0| 61 73 2e 65 64 75 20 28 | 35 2e 36 34 2f 31 2e 39 |as.edu (|5.64/1.9|
|000000c0| 35 29 20 0a 46 72 6f 6d | 3a 20 6b 61 72 69 73 68 |5) .From|: karish|
|000000d0| 40 6d 69 6e 64 63 72 61 | 66 74 2e 63 6f 6d 20 28 |@mindcra|ft.com (|
|000000e0| 43 68 75 63 6b 20 4b 61 | 72 69 73 68 29 0a 4e 65 |Chuck Ka|rish).Ne|
|000000f0| 77 73 67 72 6f 75 70 73 | 3a 20 63 6f 6d 70 2e 73 |wsgroups|: comp.s|
|00000100| 74 64 2e 75 6e 69 78 0a | 53 75 62 6a 65 63 74 3a |td.unix.|Subject:|
|00000110| 20 52 65 3a 20 52 65 74 | 61 69 6e 69 6e 67 20 66 | Re: Ret|aining f|
|00000120| 69 6c 65 20 70 65 72 6d | 69 73 73 69 6f 6e 73 0a |ile perm|issions.|
|00000130| 53 75 6d 6d 61 72 79 3a | 20 43 68 61 6e 67 69 6e |Summary:| Changin|
|00000140| 67 20 73 65 74 2d 75 73 | 65 72 2d 69 64 20 62 69 |g set-us|er-id bi|
|00000150| 74 20 6f 6e 20 77 72 69 | 74 65 0a 4d 65 73 73 61 |t on wri|te.Messa|
|00000160| 67 65 2d 49 64 3a 20 3c | 31 38 33 34 39 40 63 73 |ge-Id: <|18349@cs|
|00000170| 2e 75 74 65 78 61 73 2e | 65 64 75 3e 0a 52 65 66 |.utexas.|edu>.Ref|
|00000180| 65 72 65 6e 63 65 73 3a | 20 3c 36 30 33 39 40 70 |erences:| <6039@p|
|00000190| 74 73 66 61 2e 50 61 63 | 42 65 6c 6c 2e 43 4f 4d |tsfa.Pac|Bell.COM|
|000001a0| 3e 20 3c 31 39 39 31 46 | 65 62 32 32 2e 30 34 31 |> <1991F|eb22.041|
|000001b0| 38 32 36 2e 32 30 31 40 | 61 74 68 65 6e 61 2e 6d |826.201@|athena.m|
|000001c0| 69 74 2e 65 64 75 3e 20 | 3c 31 39 39 31 46 65 62 |it.edu> |<1991Feb|
|000001d0| 32 33 2e 32 33 34 32 34 | 32 2e 38 31 32 40 61 6d |23.23424|2.812@am|
|000001e0| 2e 73 75 62 6c 69 6e 6b | 2e 6f 72 67 3e 20 3c 31 |.sublink|.org> <1|
|000001f0| 39 39 31 46 65 62 32 36 | 2e 31 35 33 39 33 31 2e |991Feb26|.153931.|
|00000200| 32 37 32 35 31 40 61 74 | 68 65 6e 61 2e 6d 69 74 |27251@at|hena.mit|
|00000210| 2e 65 64 75 3e 20 3c 31 | 38 32 39 36 40 63 73 2e |.edu> <1|8296@cs.|
|00000220| 75 74 65 78 61 73 2e 65 | 64 75 3e 0a 53 65 6e 64 |utexas.e|du>.Send|
|00000230| 65 72 3a 20 6a 73 71 40 | 63 73 2e 75 74 65 78 61 |er: jsq@|cs.utexa|
|00000240| 73 2e 65 64 75 0a 4f 72 | 67 61 6e 69 7a 61 74 69 |s.edu.Or|ganizati|
|00000250| 6f 6e 3a 20 4d 69 6e 64 | 63 72 61 66 74 2c 20 49 |on: Mind|craft, I|
|00000260| 6e 63 2e 0a 58 2d 53 75 | 62 6d 69 73 73 69 6f 6e |nc..X-Su|bmission|
|00000270| 73 3a 20 73 74 64 2d 75 | 6e 69 78 40 75 75 6e 65 |s: std-u|nix@uune|
|00000280| 74 2e 75 75 2e 6e 65 74 | 0a 44 61 74 65 3a 20 35 |t.uu.net|.Date: 5|
|00000290| 20 4d 61 72 20 39 31 20 | 32 33 3a 34 36 3a 35 38 | Mar 91 |23:46:58|
|000002a0| 20 47 4d 54 0a 52 65 70 | 6c 79 2d 54 6f 3a 20 73 | GMT.Rep|ly-To: s|
|000002b0| 74 64 2d 75 6e 69 78 40 | 75 75 6e 65 74 2e 75 75 |td-unix@|uunet.uu|
|000002c0| 2e 6e 65 74 0a 54 6f 3a | 20 73 74 64 2d 75 6e 69 |.net.To:| std-uni|
|000002d0| 78 40 75 75 6e 65 74 2e | 75 75 2e 6e 65 74 0a 0a |x@uunet.|uu.net..|
|000002e0| 53 75 62 6d 69 74 74 65 | 64 2d 62 79 3a 20 6b 61 |Submitte|d-by: ka|
|000002f0| 72 69 73 68 40 6d 69 6e | 64 63 72 61 66 74 2e 63 |rish@min|dcraft.c|
|00000300| 6f 6d 20 28 43 68 75 63 | 6b 20 4b 61 72 69 73 68 |om (Chuc|k Karish|
|00000310| 29 0a 0a 49 6e 20 61 72 | 74 69 63 6c 65 20 3c 31 |)..In ar|ticle <1|
|00000320| 38 32 39 36 40 63 73 2e | 75 74 65 78 61 73 2e 65 |8296@cs.|utexas.e|
|00000330| 64 75 3e 20 61 6c 65 78 | 40 61 6d 2e 73 75 62 6c |du> alex|@am.subl|
|00000340| 69 6e 6b 2e 6f 72 67 20 | 28 41 6c 65 78 20 4d 61 |ink.org |(Alex Ma|
|00000350| 72 74 65 6c 6c 69 29 20 | 77 72 69 74 65 73 3a 0a |rtelli) |writes:.|
|00000360| 3e 53 6f 2c 20 77 68 61 | 74 20 44 4f 45 53 20 50 |>So, wha|t DOES P|
|00000370| 6f 73 69 78 20 73 61 79 | 20 61 62 6f 75 74 20 74 |osix say| about t|
|00000380| 68 69 73 20 28 6f 70 65 | 6e 28 29 2c 20 77 72 69 |his (ope|n(), wri|
|00000390| 74 65 28 29 2c 0a 3e 63 | 61 74 2c 20 73 68 65 6c |te(),.>c|at, shel|
|000003a0| 6c 20 72 65 64 69 72 65 | 63 74 69 6f 6e 2c 20 61 |l redire|ction, a|
|000003b0| 6e 64 20 70 65 72 6d 69 | 73 73 69 6f 6e 20 62 69 |nd permi|ssion bi|
|000003c0| 74 73 29 2c 20 61 6e 64 | 20 77 68 61 74 20 53 48 |ts), and| what SH|
|000003d0| 4f 55 4c 44 20 69 74 20 | 73 61 79 3f 0a 0a 50 4f |OULD it |say?..PO|
|000003e0| 53 49 58 2e 31 20 63 6c | 61 75 73 65 20 35 2e 36 |SIX.1 cl|ause 5.6|
|000003f0| 2e 31 2e 32 2c 20 64 65 | 73 63 72 69 70 74 69 6f |.1.2, de|scriptio|
|00000400| 6e 73 20 6f 66 20 53 5f | 49 53 55 49 44 20 61 6e |ns of S_|ISUID an|
|00000410| 64 20 53 5f 49 53 47 49 | 44 20 62 69 74 73 3a 20 |d S_ISGI|D bits: |
|00000420| 20 22 4f 6e 0a 61 20 72 | 65 67 75 6c 61 72 20 66 | "On.a r|egular f|
|00000430| 69 6c 65 2c 20 74 68 69 | 73 20 62 69 74 20 73 68 |ile, thi|s bit sh|
|00000440| 6f 75 6c 64 20 62 65 20 | 63 6c 65 61 72 65 64 20 |ould be |cleared |
|00000450| 6f 6e 20 61 6e 79 20 77 | 72 69 74 65 2e 22 0a 0a |on any w|rite."..|
|00000460| 4e 6f 74 65 20 74 68 65 | 20 77 6f 72 64 20 22 73 |Note the| word "s|
|00000470| 68 6f 75 6c 64 22 2e 20 | 20 54 68 69 73 20 69 73 |hould". | This is|
|00000480| 20 61 20 72 65 63 6f 6d | 6d 65 6e 64 61 74 69 6f | a recom|mendatio|
|00000490| 6e 20 74 6f 20 69 6d 70 | 6c 65 6d 65 6e 74 6f 72 |n to imp|lementor|
|000004a0| 73 2c 20 6e 6f 74 0a 61 | 20 72 65 71 75 69 72 65 |s, not.a| require|
|000004b0| 6d 65 6e 74 2e 0a 0a 42 | 53 44 20 34 2e 33 20 77 |ment...B|SD 4.3 w|
|000004c0| 72 69 74 65 28 32 29 20 | 6d 61 6e 20 70 61 67 65 |rite(2) |man page|
|000004d0| 3a 20 22 49 66 20 74 68 | 65 20 72 65 61 6c 20 75 |: "If th|e real u|
|000004e0| 73 65 72 20 69 73 20 6e | 6f 74 20 74 68 65 20 73 |ser is n|ot the s|
|000004f0| 75 70 65 72 2d 75 73 65 | 72 2c 0a 74 68 65 6e 20 |uper-use|r,.then |
|00000500| 77 72 69 74 65 28 29 20 | 63 6c 65 61 72 73 20 74 |write() |clears t|
|00000510| 68 65 20 73 65 74 2d 75 | 73 65 72 2d 69 64 20 62 |he set-u|ser-id b|
|00000520| 69 74 20 6f 6e 20 61 20 | 66 69 6c 65 2e 22 0a 0a |it on a |file."..|
|00000530| 49 6e 74 65 72 61 63 74 | 69 76 65 20 6d 61 6e 20 |Interact|ive man |
|00000540| 70 61 67 65 73 20 66 6f | 72 20 73 74 61 74 28 32 |pages fo|r stat(2|
|00000550| 29 2c 20 77 72 69 74 65 | 28 32 29 2c 20 61 6e 64 |), write|(2), and|
|00000560| 20 63 68 6d 6f 64 28 32 | 29 20 61 72 65 20 73 69 | chmod(2|) are si|
|00000570| 6c 65 6e 74 20 6f 6e 0a | 74 68 69 73 20 69 73 73 |lent on.|this iss|
|00000580| 75 65 2e 0a 0a 50 4f 53 | 49 58 2e 32 20 69 73 20 |ue...POS|IX.2 is |
|00000590| 70 72 65 74 74 79 20 6d | 75 63 68 20 63 6f 6e 73 |pretty m|uch cons|
|000005a0| 74 72 61 69 6e 65 64 20 | 74 6f 20 61 63 63 65 70 |trained |to accep|
|000005b0| 74 20 61 73 20 76 61 6c | 69 64 20 62 65 68 61 76 |t as val|id behav|
|000005c0| 69 6f 72 20 74 68 61 74 | 27 73 0a 61 6c 6c 6f 77 |ior that|'s.allow|
|000005d0| 65 64 2f 73 75 67 67 65 | 73 74 65 64 20 62 79 20 |ed/sugge|sted by |
|000005e0| 50 4f 53 49 58 2e 31 2e | 20 20 49 20 64 6f 6e 27 |POSIX.1.| I don'|
|000005f0| 74 20 74 68 69 6e 6b 20 | 74 68 65 72 65 20 61 72 |t think |there ar|
|00000600| 65 20 61 6e 79 20 72 65 | 71 75 69 72 65 6d 65 6e |e any re|quiremen|
|00000610| 74 73 0a 74 68 61 74 20 | 74 68 65 20 75 74 69 6c |ts.that |the util|
|00000620| 69 74 69 65 73 20 73 65 | 63 6f 6e 64 2d 67 75 65 |ities se|cond-gue|
|00000630| 73 73 20 61 6e 64 20 64 | 65 66 65 61 74 20 74 68 |ss and d|efeat th|
|00000640| 65 20 66 69 6c 65 20 61 | 63 63 65 73 73 20 70 6f |e file a|ccess po|
|00000650| 6c 69 63 69 65 73 0a 74 | 68 61 74 20 63 6f 75 6c |licies.t|hat coul|
|00000660| 64 20 6c 65 67 69 74 69 | 6d 61 74 65 6c 79 20 62 |d legiti|mately b|
|00000670| 65 20 69 6d 70 6f 73 65 | 64 20 62 79 20 61 6e 20 |e impose|d by an |
|00000680| 75 6e 64 65 72 6c 79 69 | 6e 67 20 50 4f 53 49 58 |underlyi|ng POSIX|
|00000690| 2e 31 20 6f 70 65 72 61 | 74 69 6e 67 0a 73 79 73 |.1 opera|ting.sys|
|000006a0| 74 65 6d 2e 0a 0a 09 43 | 68 75 63 6b 20 4b 61 72 |tem....C|huck Kar|
|000006b0| 69 73 68 09 09 6b 61 72 | 69 73 68 40 6d 69 6e 64 |ish..kar|ish@mind|
|000006c0| 63 72 61 66 74 2e 63 6f | 6d 0a 09 4d 69 6e 64 63 |craft.co|m..Mindc|
|000006d0| 72 61 66 74 2c 20 49 6e | 63 2e 09 09 28 34 31 35 |raft, In|c...(415|
|000006e0| 29 20 33 32 33 2d 39 30 | 30 30 0a 0a 56 6f 6c 75 |) 323-90|00..Volu|
|000006f0| 6d 65 2d 4e 75 6d 62 65 | 72 3a 20 56 6f 6c 75 6d |me-Numbe|r: Volum|
|00000700| 65 20 32 32 2c 20 4e 75 | 6d 62 65 72 20 31 34 30 |e 22, Nu|mber 140|
|00000710| 0a 0a | |.. | |
+--------+-------------------------+-------------------------+--------+--------+