Artifact
e5db7b80d518657ab58d1f2962de4257523724ce:
Ticket change
[e5db7b80d5]
- New ticket
[baf9b6b11e] update/revert don't set permissions.
by
anonymous
2011-02-08 16:33:37.
0000: 44 20 32 30 31 31 2d 30 32 2d 30 38 54 31 36 3a D 2011-02-08T16:
0010: 33 33 3a 33 37 2e 33 35 38 0a 4a 20 63 6f 6d 6d 33:37.358.J comm
0020: 65 6e 74 20 49 6e 5c 73 72 65 61 64 69 6e 67 5c ent In\sreading\
0030: 73 74 68 72 6f 75 67 68 5c 73 75 70 64 61 74 65 sthrough\supdate
0040: 2e 63 2c 5c 73 69 74 5c 73 64 6f 65 73 6e 27 74 .c,\sit\sdoesn't
0050: 5c 73 6c 6f 6f 6b 5c 73 61 73 5c 73 74 68 6f 75 \slook\sas\sthou
0060: 67 68 5c 73 75 70 64 61 74 65 73 5c 73 6f 72 5c gh\supdates\sor\
0070: 73 72 65 76 65 72 74 73 5c 73 77 69 6c 6c 5c 73 sreverts\swill\s
0080: 73 65 74 5c 73 74 68 65 5c 73 70 65 72 6d 69 73 set\sthe\spermis
0090: 73 69 6f 6e 73 5c 73 6f 66 5c 73 66 69 6c 65 73 sions\sof\sfiles
00a0: 5c 73 77 68 65 6e 5c 73 72 65 63 72 65 61 74 69 \swhen\srecreati
00b0: 6e 67 5c 73 74 68 65 6d 2e 5c 73 5c 73 55 6e 6c ng\sthem.\s\sUnl
00c0: 69 6b 65 5c 73 63 68 65 63 6b 6f 75 74 27 73 5c ike\scheckout's\
00d0: 73 63 6f 64 65 5c 73 70 61 74 68 2c 5c 73 75 70 scode\spath,\sup
00e0: 64 61 74 65 2f 72 65 76 65 72 74 5c 73 64 6f 65 date/revert\sdoe
00f0: 73 6e 27 74 5c 73 63 61 6c 6c 5c 73 63 68 65 63 sn't\scall\schec
0100: 6b 6f 75 74 2e 63 3a 63 68 65 63 6b 6f 75 74 5f kout.c:checkout_
0110: 73 65 74 5f 61 6c 6c 5f 65 78 65 28 29 5c 73 74 set_all_exe()\st
0120: 6f 5c 73 73 65 74 5c 73 74 68 65 5c 73 70 65 72 o\sset\sthe\sper
0130: 6d 69 73 73 69 6f 6e 73 5c 73 6f 66 5c 73 66 69 missions\sof\sfi
0140: 6c 65 73 2e 5c 73 5c 73 41 74 5c 73 66 69 72 73 les.\s\sAt\sfirs
0150: 74 5c 73 67 6c 61 6e 63 65 2c 5c 73 69 74 5c 73 t\sglance,\sit\s
0160: 6c 6f 6f 6b 73 5c 73 6c 69 6b 65 5c 73 74 68 65 looks\slike\sthe
0170: 5c 73 62 65 73 74 5c 73 70 6c 61 63 65 5c 73 74 \sbest\splace\st
0180: 6f 5c 73 63 68 65 63 6b 5c 73 74 6f 5c 73 73 65 o\scheck\sto\sse
0190: 65 5c 73 69 66 5c 73 70 65 72 6d 69 73 73 69 6f e\sif\spermissio
01a0: 6e 73 5c 73 6e 65 65 64 5c 73 74 6f 5c 73 62 65 ns\sneed\sto\sbe
01b0: 5c 73 75 70 64 61 74 65 64 5c 73 69 73 5c 73 76 \supdated\sis\sv
01c0: 69 61 5c 73 76 66 69 6c 65 2e 63 3a 76 66 69 6c ia\svfile.c:vfil
01d0: 65 5f 63 68 65 63 6b 5f 73 69 67 6e 61 74 75 72 e_check_signatur
01e0: 65 28 29 5c 73 28 69 6e 5c 73 74 68 65 5c 73 63 e()\s(in\sthe\sc
01f0: 61 6c 6c 5c 73 70 61 74 68 5c 73 66 6f 72 5c 73 all\spath\sfor\s
0200: 72 65 76 65 72 74 29 5c 73 6f 72 5c 73 69 6e 5c revert)\sor\sin\
0210: 73 76 66 69 6c 65 2e 63 3a 76 66 69 6c 65 5f 63 svfile.c:vfile_c
0220: 6f 6d 70 61 72 65 5f 72 65 70 6f 73 69 74 6f 72 ompare_repositor
0230: 79 5f 74 6f 5f 64 69 73 6b 28 29 5c 73 28 6e 6f y_to_disk()\s(no
0240: 74 5c 73 75 73 65 64 5c 73 6f 74 68 65 72 5c 73 t\sused\sother\s
0250: 74 68 61 6e 5c 73 69 6e 5c 73 63 68 65 63 6b 69 than\sin\schecki
0260: 6e 29 2e 5c 72 5c 6e 5c 72 5c 6e 54 6f 5c 73 72 n).\r\n\r\nTo\sr
0270: 65 70 72 6f 64 75 63 65 3a 5c 72 5c 6e 5c 72 5c eproduce:\r\n\r\
0280: 6e 3c 70 72 65 3e 23 5c 73 49 6e 5c 73 61 5c 73 n<pre>#\sIn\sa\s
0290: 74 65 73 74 5c 73 72 65 70 6f 73 69 74 6f 72 79 test\srepository
02a0: 5c 73 77 69 74 68 5c 73 60 61 6c 69 61 73 5c 73 \swith\s`alias\s
02b0: 66 73 5c 73 66 6f 73 73 69 6c 60 5c 72 5c 6e 70 fs\sfossil`\r\np
02c0: 72 69 6e 74 66 5c 73 27 23 5c 5c 21 2f 62 69 6e rintf\s'#\\!/bin
02d0: 2f 73 68 5c 5c 6e 65 63 68 6f 5c 73 74 65 73 74 /sh\\necho\stest
02e0: 5c 73 73 63 72 69 70 74 5c 73 70 65 72 6d 73 5c \sscript\sperms\
02f0: 5c 6e 27 5c 73 3e 5c 73 74 65 73 74 2e 73 68 5c \n'\s>\stest.sh\
0300: 72 5c 6e 63 68 6d 6f 64 5c 73 37 35 35 5c 73 74 r\nchmod\s755\st
0310: 65 73 74 2e 73 68 5c 72 5c 6e 66 73 5c 73 61 64 est.sh\r\nfs\sad
0320: 64 5c 73 74 65 73 74 2e 73 68 5c 72 5c 6e 66 73 d\stest.sh\r\nfs
0330: 5c 73 63 69 5c 73 2d 6d 5c 73 22 41 64 64 69 6e \sci\s-m\s"Addin
0340: 67 5c 73 61 5c 73 74 65 73 74 5c 73 73 63 72 69 g\sa\stest\sscri
0350: 70 74 22 5c 72 5c 6e 72 6d 5c 73 2d 66 5c 73 74 pt"\r\nrm\s-f\st
0360: 65 73 74 2e 73 68 5c 72 5c 6e 66 73 5c 73 72 65 est.sh\r\nfs\sre
0370: 76 65 72 74 5c 73 74 65 73 74 2e 73 68 5c 72 5c vert\stest.sh\r\
0380: 6e 23 5c 73 74 65 73 74 2e 73 68 5c 73 77 69 6c n#\stest.sh\swil
0390: 6c 5c 73 62 65 5c 73 6d 6f 64 65 5c 73 36 34 34 l\sbe\smode\s644
03a0: 3c 2f 70 72 65 3e 0a 4a 20 70 72 69 76 61 74 65 </pre>.J private
03b0: 5f 63 6f 6e 74 61 63 74 20 38 34 66 35 39 31 31 _contact 84f5911
03c0: 34 62 37 65 65 65 37 30 38 38 66 64 37 65 32 39 4b7eee7088fd7e29
03d0: 33 32 35 39 39 63 36 39 63 39 61 64 30 37 36 31 32599c69c9ad0761
03e0: 62 0a 4a 20 73 65 76 65 72 69 74 79 20 4d 69 6e b.J severity Min
03f0: 6f 72 0a 4a 20 73 74 61 74 75 73 20 4f 70 65 6e or.J status Open
0400: 0a 4a 20 74 69 74 6c 65 20 75 70 64 61 74 65 2f .J title update/
0410: 72 65 76 65 72 74 5c 73 64 6f 6e 27 74 5c 73 73 revert\sdon't\ss
0420: 65 74 5c 73 70 65 72 6d 69 73 73 69 6f 6e 73 0a et\spermissions.
0430: 4a 20 74 79 70 65 20 43 6f 64 65 5f 44 65 66 65 J type Code_Defe
0440: 63 74 0a 4b 20 62 61 66 39 62 36 62 31 31 65 30 ct.K baf9b6b11e0
0450: 38 63 31 64 30 62 31 35 31 64 35 32 64 64 36 33 8c1d0b151d52dd63
0460: 39 32 66 66 63 62 38 64 34 34 35 39 30 0a 55 20 92ffcb8d44590.U
0470: 61 6e 6f 6e 79 6d 6f 75 73 0a 5a 20 64 63 35 61 anonymous.Z dc5a
0480: 39 64 62 30 34 34 64 31 33 63 61 65 36 65 61 66 9db044d13cae6eaf
0490: 63 62 63 35 37 66 66 39 31 35 32 64 0a cbc57ff9152d.