1--TEST--
2Test umask() function: basic functionality
3--SKIPIF--
4<?php
5if (substr(PHP_OS, 0, 3) == 'WIN') {
6    die('skip.. only for Linux');
7}
8?>
9--FILE--
10<?php
11/* Prototype: int umask ( [int $mask] );
12   Description: Changes the current umask
13*/
14
15echo "*** Testing umask() : basic functionality ***\n";
16// checking umask() on all the modes
17for($mask = 0000; $mask <= 0777; $mask++) {
18  echo "-- Setting umask to $mask --\n";
19  var_dump( umask($mask) );
20  var_dump( umask() );
21  echo "\n";
22  if ($mask != umask()) {
23    die('An error occurred while changing back the umask');
24  }
25}
26
27echo "Done\n";
28?>
29--EXPECTF--
30*** Testing umask() : basic functionality ***
31-- Setting umask to 0 --
32int(%d)
33int(0)
34
35-- Setting umask to 1 --
36int(0)
37int(1)
38
39-- Setting umask to 2 --
40int(1)
41int(2)
42
43-- Setting umask to 3 --
44int(2)
45int(3)
46
47-- Setting umask to 4 --
48int(3)
49int(4)
50
51-- Setting umask to 5 --
52int(4)
53int(5)
54
55-- Setting umask to 6 --
56int(5)
57int(6)
58
59-- Setting umask to 7 --
60int(6)
61int(7)
62
63-- Setting umask to 8 --
64int(7)
65int(8)
66
67-- Setting umask to 9 --
68int(8)
69int(9)
70
71-- Setting umask to 10 --
72int(9)
73int(10)
74
75-- Setting umask to 11 --
76int(10)
77int(11)
78
79-- Setting umask to 12 --
80int(11)
81int(12)
82
83-- Setting umask to 13 --
84int(12)
85int(13)
86
87-- Setting umask to 14 --
88int(13)
89int(14)
90
91-- Setting umask to 15 --
92int(14)
93int(15)
94
95-- Setting umask to 16 --
96int(15)
97int(16)
98
99-- Setting umask to 17 --
100int(16)
101int(17)
102
103-- Setting umask to 18 --
104int(17)
105int(18)
106
107-- Setting umask to 19 --
108int(18)
109int(19)
110
111-- Setting umask to 20 --
112int(19)
113int(20)
114
115-- Setting umask to 21 --
116int(20)
117int(21)
118
119-- Setting umask to 22 --
120int(21)
121int(22)
122
123-- Setting umask to 23 --
124int(22)
125int(23)
126
127-- Setting umask to 24 --
128int(23)
129int(24)
130
131-- Setting umask to 25 --
132int(24)
133int(25)
134
135-- Setting umask to 26 --
136int(25)
137int(26)
138
139-- Setting umask to 27 --
140int(26)
141int(27)
142
143-- Setting umask to 28 --
144int(27)
145int(28)
146
147-- Setting umask to 29 --
148int(28)
149int(29)
150
151-- Setting umask to 30 --
152int(29)
153int(30)
154
155-- Setting umask to 31 --
156int(30)
157int(31)
158
159-- Setting umask to 32 --
160int(31)
161int(32)
162
163-- Setting umask to 33 --
164int(32)
165int(33)
166
167-- Setting umask to 34 --
168int(33)
169int(34)
170
171-- Setting umask to 35 --
172int(34)
173int(35)
174
175-- Setting umask to 36 --
176int(35)
177int(36)
178
179-- Setting umask to 37 --
180int(36)
181int(37)
182
183-- Setting umask to 38 --
184int(37)
185int(38)
186
187-- Setting umask to 39 --
188int(38)
189int(39)
190
191-- Setting umask to 40 --
192int(39)
193int(40)
194
195-- Setting umask to 41 --
196int(40)
197int(41)
198
199-- Setting umask to 42 --
200int(41)
201int(42)
202
203-- Setting umask to 43 --
204int(42)
205int(43)
206
207-- Setting umask to 44 --
208int(43)
209int(44)
210
211-- Setting umask to 45 --
212int(44)
213int(45)
214
215-- Setting umask to 46 --
216int(45)
217int(46)
218
219-- Setting umask to 47 --
220int(46)
221int(47)
222
223-- Setting umask to 48 --
224int(47)
225int(48)
226
227-- Setting umask to 49 --
228int(48)
229int(49)
230
231-- Setting umask to 50 --
232int(49)
233int(50)
234
235-- Setting umask to 51 --
236int(50)
237int(51)
238
239-- Setting umask to 52 --
240int(51)
241int(52)
242
243-- Setting umask to 53 --
244int(52)
245int(53)
246
247-- Setting umask to 54 --
248int(53)
249int(54)
250
251-- Setting umask to 55 --
252int(54)
253int(55)
254
255-- Setting umask to 56 --
256int(55)
257int(56)
258
259-- Setting umask to 57 --
260int(56)
261int(57)
262
263-- Setting umask to 58 --
264int(57)
265int(58)
266
267-- Setting umask to 59 --
268int(58)
269int(59)
270
271-- Setting umask to 60 --
272int(59)
273int(60)
274
275-- Setting umask to 61 --
276int(60)
277int(61)
278
279-- Setting umask to 62 --
280int(61)
281int(62)
282
283-- Setting umask to 63 --
284int(62)
285int(63)
286
287-- Setting umask to 64 --
288int(63)
289int(64)
290
291-- Setting umask to 65 --
292int(64)
293int(65)
294
295-- Setting umask to 66 --
296int(65)
297int(66)
298
299-- Setting umask to 67 --
300int(66)
301int(67)
302
303-- Setting umask to 68 --
304int(67)
305int(68)
306
307-- Setting umask to 69 --
308int(68)
309int(69)
310
311-- Setting umask to 70 --
312int(69)
313int(70)
314
315-- Setting umask to 71 --
316int(70)
317int(71)
318
319-- Setting umask to 72 --
320int(71)
321int(72)
322
323-- Setting umask to 73 --
324int(72)
325int(73)
326
327-- Setting umask to 74 --
328int(73)
329int(74)
330
331-- Setting umask to 75 --
332int(74)
333int(75)
334
335-- Setting umask to 76 --
336int(75)
337int(76)
338
339-- Setting umask to 77 --
340int(76)
341int(77)
342
343-- Setting umask to 78 --
344int(77)
345int(78)
346
347-- Setting umask to 79 --
348int(78)
349int(79)
350
351-- Setting umask to 80 --
352int(79)
353int(80)
354
355-- Setting umask to 81 --
356int(80)
357int(81)
358
359-- Setting umask to 82 --
360int(81)
361int(82)
362
363-- Setting umask to 83 --
364int(82)
365int(83)
366
367-- Setting umask to 84 --
368int(83)
369int(84)
370
371-- Setting umask to 85 --
372int(84)
373int(85)
374
375-- Setting umask to 86 --
376int(85)
377int(86)
378
379-- Setting umask to 87 --
380int(86)
381int(87)
382
383-- Setting umask to 88 --
384int(87)
385int(88)
386
387-- Setting umask to 89 --
388int(88)
389int(89)
390
391-- Setting umask to 90 --
392int(89)
393int(90)
394
395-- Setting umask to 91 --
396int(90)
397int(91)
398
399-- Setting umask to 92 --
400int(91)
401int(92)
402
403-- Setting umask to 93 --
404int(92)
405int(93)
406
407-- Setting umask to 94 --
408int(93)
409int(94)
410
411-- Setting umask to 95 --
412int(94)
413int(95)
414
415-- Setting umask to 96 --
416int(95)
417int(96)
418
419-- Setting umask to 97 --
420int(96)
421int(97)
422
423-- Setting umask to 98 --
424int(97)
425int(98)
426
427-- Setting umask to 99 --
428int(98)
429int(99)
430
431-- Setting umask to 100 --
432int(99)
433int(100)
434
435-- Setting umask to 101 --
436int(100)
437int(101)
438
439-- Setting umask to 102 --
440int(101)
441int(102)
442
443-- Setting umask to 103 --
444int(102)
445int(103)
446
447-- Setting umask to 104 --
448int(103)
449int(104)
450
451-- Setting umask to 105 --
452int(104)
453int(105)
454
455-- Setting umask to 106 --
456int(105)
457int(106)
458
459-- Setting umask to 107 --
460int(106)
461int(107)
462
463-- Setting umask to 108 --
464int(107)
465int(108)
466
467-- Setting umask to 109 --
468int(108)
469int(109)
470
471-- Setting umask to 110 --
472int(109)
473int(110)
474
475-- Setting umask to 111 --
476int(110)
477int(111)
478
479-- Setting umask to 112 --
480int(111)
481int(112)
482
483-- Setting umask to 113 --
484int(112)
485int(113)
486
487-- Setting umask to 114 --
488int(113)
489int(114)
490
491-- Setting umask to 115 --
492int(114)
493int(115)
494
495-- Setting umask to 116 --
496int(115)
497int(116)
498
499-- Setting umask to 117 --
500int(116)
501int(117)
502
503-- Setting umask to 118 --
504int(117)
505int(118)
506
507-- Setting umask to 119 --
508int(118)
509int(119)
510
511-- Setting umask to 120 --
512int(119)
513int(120)
514
515-- Setting umask to 121 --
516int(120)
517int(121)
518
519-- Setting umask to 122 --
520int(121)
521int(122)
522
523-- Setting umask to 123 --
524int(122)
525int(123)
526
527-- Setting umask to 124 --
528int(123)
529int(124)
530
531-- Setting umask to 125 --
532int(124)
533int(125)
534
535-- Setting umask to 126 --
536int(125)
537int(126)
538
539-- Setting umask to 127 --
540int(126)
541int(127)
542
543-- Setting umask to 128 --
544int(127)
545int(128)
546
547-- Setting umask to 129 --
548int(128)
549int(129)
550
551-- Setting umask to 130 --
552int(129)
553int(130)
554
555-- Setting umask to 131 --
556int(130)
557int(131)
558
559-- Setting umask to 132 --
560int(131)
561int(132)
562
563-- Setting umask to 133 --
564int(132)
565int(133)
566
567-- Setting umask to 134 --
568int(133)
569int(134)
570
571-- Setting umask to 135 --
572int(134)
573int(135)
574
575-- Setting umask to 136 --
576int(135)
577int(136)
578
579-- Setting umask to 137 --
580int(136)
581int(137)
582
583-- Setting umask to 138 --
584int(137)
585int(138)
586
587-- Setting umask to 139 --
588int(138)
589int(139)
590
591-- Setting umask to 140 --
592int(139)
593int(140)
594
595-- Setting umask to 141 --
596int(140)
597int(141)
598
599-- Setting umask to 142 --
600int(141)
601int(142)
602
603-- Setting umask to 143 --
604int(142)
605int(143)
606
607-- Setting umask to 144 --
608int(143)
609int(144)
610
611-- Setting umask to 145 --
612int(144)
613int(145)
614
615-- Setting umask to 146 --
616int(145)
617int(146)
618
619-- Setting umask to 147 --
620int(146)
621int(147)
622
623-- Setting umask to 148 --
624int(147)
625int(148)
626
627-- Setting umask to 149 --
628int(148)
629int(149)
630
631-- Setting umask to 150 --
632int(149)
633int(150)
634
635-- Setting umask to 151 --
636int(150)
637int(151)
638
639-- Setting umask to 152 --
640int(151)
641int(152)
642
643-- Setting umask to 153 --
644int(152)
645int(153)
646
647-- Setting umask to 154 --
648int(153)
649int(154)
650
651-- Setting umask to 155 --
652int(154)
653int(155)
654
655-- Setting umask to 156 --
656int(155)
657int(156)
658
659-- Setting umask to 157 --
660int(156)
661int(157)
662
663-- Setting umask to 158 --
664int(157)
665int(158)
666
667-- Setting umask to 159 --
668int(158)
669int(159)
670
671-- Setting umask to 160 --
672int(159)
673int(160)
674
675-- Setting umask to 161 --
676int(160)
677int(161)
678
679-- Setting umask to 162 --
680int(161)
681int(162)
682
683-- Setting umask to 163 --
684int(162)
685int(163)
686
687-- Setting umask to 164 --
688int(163)
689int(164)
690
691-- Setting umask to 165 --
692int(164)
693int(165)
694
695-- Setting umask to 166 --
696int(165)
697int(166)
698
699-- Setting umask to 167 --
700int(166)
701int(167)
702
703-- Setting umask to 168 --
704int(167)
705int(168)
706
707-- Setting umask to 169 --
708int(168)
709int(169)
710
711-- Setting umask to 170 --
712int(169)
713int(170)
714
715-- Setting umask to 171 --
716int(170)
717int(171)
718
719-- Setting umask to 172 --
720int(171)
721int(172)
722
723-- Setting umask to 173 --
724int(172)
725int(173)
726
727-- Setting umask to 174 --
728int(173)
729int(174)
730
731-- Setting umask to 175 --
732int(174)
733int(175)
734
735-- Setting umask to 176 --
736int(175)
737int(176)
738
739-- Setting umask to 177 --
740int(176)
741int(177)
742
743-- Setting umask to 178 --
744int(177)
745int(178)
746
747-- Setting umask to 179 --
748int(178)
749int(179)
750
751-- Setting umask to 180 --
752int(179)
753int(180)
754
755-- Setting umask to 181 --
756int(180)
757int(181)
758
759-- Setting umask to 182 --
760int(181)
761int(182)
762
763-- Setting umask to 183 --
764int(182)
765int(183)
766
767-- Setting umask to 184 --
768int(183)
769int(184)
770
771-- Setting umask to 185 --
772int(184)
773int(185)
774
775-- Setting umask to 186 --
776int(185)
777int(186)
778
779-- Setting umask to 187 --
780int(186)
781int(187)
782
783-- Setting umask to 188 --
784int(187)
785int(188)
786
787-- Setting umask to 189 --
788int(188)
789int(189)
790
791-- Setting umask to 190 --
792int(189)
793int(190)
794
795-- Setting umask to 191 --
796int(190)
797int(191)
798
799-- Setting umask to 192 --
800int(191)
801int(192)
802
803-- Setting umask to 193 --
804int(192)
805int(193)
806
807-- Setting umask to 194 --
808int(193)
809int(194)
810
811-- Setting umask to 195 --
812int(194)
813int(195)
814
815-- Setting umask to 196 --
816int(195)
817int(196)
818
819-- Setting umask to 197 --
820int(196)
821int(197)
822
823-- Setting umask to 198 --
824int(197)
825int(198)
826
827-- Setting umask to 199 --
828int(198)
829int(199)
830
831-- Setting umask to 200 --
832int(199)
833int(200)
834
835-- Setting umask to 201 --
836int(200)
837int(201)
838
839-- Setting umask to 202 --
840int(201)
841int(202)
842
843-- Setting umask to 203 --
844int(202)
845int(203)
846
847-- Setting umask to 204 --
848int(203)
849int(204)
850
851-- Setting umask to 205 --
852int(204)
853int(205)
854
855-- Setting umask to 206 --
856int(205)
857int(206)
858
859-- Setting umask to 207 --
860int(206)
861int(207)
862
863-- Setting umask to 208 --
864int(207)
865int(208)
866
867-- Setting umask to 209 --
868int(208)
869int(209)
870
871-- Setting umask to 210 --
872int(209)
873int(210)
874
875-- Setting umask to 211 --
876int(210)
877int(211)
878
879-- Setting umask to 212 --
880int(211)
881int(212)
882
883-- Setting umask to 213 --
884int(212)
885int(213)
886
887-- Setting umask to 214 --
888int(213)
889int(214)
890
891-- Setting umask to 215 --
892int(214)
893int(215)
894
895-- Setting umask to 216 --
896int(215)
897int(216)
898
899-- Setting umask to 217 --
900int(216)
901int(217)
902
903-- Setting umask to 218 --
904int(217)
905int(218)
906
907-- Setting umask to 219 --
908int(218)
909int(219)
910
911-- Setting umask to 220 --
912int(219)
913int(220)
914
915-- Setting umask to 221 --
916int(220)
917int(221)
918
919-- Setting umask to 222 --
920int(221)
921int(222)
922
923-- Setting umask to 223 --
924int(222)
925int(223)
926
927-- Setting umask to 224 --
928int(223)
929int(224)
930
931-- Setting umask to 225 --
932int(224)
933int(225)
934
935-- Setting umask to 226 --
936int(225)
937int(226)
938
939-- Setting umask to 227 --
940int(226)
941int(227)
942
943-- Setting umask to 228 --
944int(227)
945int(228)
946
947-- Setting umask to 229 --
948int(228)
949int(229)
950
951-- Setting umask to 230 --
952int(229)
953int(230)
954
955-- Setting umask to 231 --
956int(230)
957int(231)
958
959-- Setting umask to 232 --
960int(231)
961int(232)
962
963-- Setting umask to 233 --
964int(232)
965int(233)
966
967-- Setting umask to 234 --
968int(233)
969int(234)
970
971-- Setting umask to 235 --
972int(234)
973int(235)
974
975-- Setting umask to 236 --
976int(235)
977int(236)
978
979-- Setting umask to 237 --
980int(236)
981int(237)
982
983-- Setting umask to 238 --
984int(237)
985int(238)
986
987-- Setting umask to 239 --
988int(238)
989int(239)
990
991-- Setting umask to 240 --
992int(239)
993int(240)
994
995-- Setting umask to 241 --
996int(240)
997int(241)
998
999-- Setting umask to 242 --
1000int(241)
1001int(242)
1002
1003-- Setting umask to 243 --
1004int(242)
1005int(243)
1006
1007-- Setting umask to 244 --
1008int(243)
1009int(244)
1010
1011-- Setting umask to 245 --
1012int(244)
1013int(245)
1014
1015-- Setting umask to 246 --
1016int(245)
1017int(246)
1018
1019-- Setting umask to 247 --
1020int(246)
1021int(247)
1022
1023-- Setting umask to 248 --
1024int(247)
1025int(248)
1026
1027-- Setting umask to 249 --
1028int(248)
1029int(249)
1030
1031-- Setting umask to 250 --
1032int(249)
1033int(250)
1034
1035-- Setting umask to 251 --
1036int(250)
1037int(251)
1038
1039-- Setting umask to 252 --
1040int(251)
1041int(252)
1042
1043-- Setting umask to 253 --
1044int(252)
1045int(253)
1046
1047-- Setting umask to 254 --
1048int(253)
1049int(254)
1050
1051-- Setting umask to 255 --
1052int(254)
1053int(255)
1054
1055-- Setting umask to 256 --
1056int(255)
1057int(256)
1058
1059-- Setting umask to 257 --
1060int(256)
1061int(257)
1062
1063-- Setting umask to 258 --
1064int(257)
1065int(258)
1066
1067-- Setting umask to 259 --
1068int(258)
1069int(259)
1070
1071-- Setting umask to 260 --
1072int(259)
1073int(260)
1074
1075-- Setting umask to 261 --
1076int(260)
1077int(261)
1078
1079-- Setting umask to 262 --
1080int(261)
1081int(262)
1082
1083-- Setting umask to 263 --
1084int(262)
1085int(263)
1086
1087-- Setting umask to 264 --
1088int(263)
1089int(264)
1090
1091-- Setting umask to 265 --
1092int(264)
1093int(265)
1094
1095-- Setting umask to 266 --
1096int(265)
1097int(266)
1098
1099-- Setting umask to 267 --
1100int(266)
1101int(267)
1102
1103-- Setting umask to 268 --
1104int(267)
1105int(268)
1106
1107-- Setting umask to 269 --
1108int(268)
1109int(269)
1110
1111-- Setting umask to 270 --
1112int(269)
1113int(270)
1114
1115-- Setting umask to 271 --
1116int(270)
1117int(271)
1118
1119-- Setting umask to 272 --
1120int(271)
1121int(272)
1122
1123-- Setting umask to 273 --
1124int(272)
1125int(273)
1126
1127-- Setting umask to 274 --
1128int(273)
1129int(274)
1130
1131-- Setting umask to 275 --
1132int(274)
1133int(275)
1134
1135-- Setting umask to 276 --
1136int(275)
1137int(276)
1138
1139-- Setting umask to 277 --
1140int(276)
1141int(277)
1142
1143-- Setting umask to 278 --
1144int(277)
1145int(278)
1146
1147-- Setting umask to 279 --
1148int(278)
1149int(279)
1150
1151-- Setting umask to 280 --
1152int(279)
1153int(280)
1154
1155-- Setting umask to 281 --
1156int(280)
1157int(281)
1158
1159-- Setting umask to 282 --
1160int(281)
1161int(282)
1162
1163-- Setting umask to 283 --
1164int(282)
1165int(283)
1166
1167-- Setting umask to 284 --
1168int(283)
1169int(284)
1170
1171-- Setting umask to 285 --
1172int(284)
1173int(285)
1174
1175-- Setting umask to 286 --
1176int(285)
1177int(286)
1178
1179-- Setting umask to 287 --
1180int(286)
1181int(287)
1182
1183-- Setting umask to 288 --
1184int(287)
1185int(288)
1186
1187-- Setting umask to 289 --
1188int(288)
1189int(289)
1190
1191-- Setting umask to 290 --
1192int(289)
1193int(290)
1194
1195-- Setting umask to 291 --
1196int(290)
1197int(291)
1198
1199-- Setting umask to 292 --
1200int(291)
1201int(292)
1202
1203-- Setting umask to 293 --
1204int(292)
1205int(293)
1206
1207-- Setting umask to 294 --
1208int(293)
1209int(294)
1210
1211-- Setting umask to 295 --
1212int(294)
1213int(295)
1214
1215-- Setting umask to 296 --
1216int(295)
1217int(296)
1218
1219-- Setting umask to 297 --
1220int(296)
1221int(297)
1222
1223-- Setting umask to 298 --
1224int(297)
1225int(298)
1226
1227-- Setting umask to 299 --
1228int(298)
1229int(299)
1230
1231-- Setting umask to 300 --
1232int(299)
1233int(300)
1234
1235-- Setting umask to 301 --
1236int(300)
1237int(301)
1238
1239-- Setting umask to 302 --
1240int(301)
1241int(302)
1242
1243-- Setting umask to 303 --
1244int(302)
1245int(303)
1246
1247-- Setting umask to 304 --
1248int(303)
1249int(304)
1250
1251-- Setting umask to 305 --
1252int(304)
1253int(305)
1254
1255-- Setting umask to 306 --
1256int(305)
1257int(306)
1258
1259-- Setting umask to 307 --
1260int(306)
1261int(307)
1262
1263-- Setting umask to 308 --
1264int(307)
1265int(308)
1266
1267-- Setting umask to 309 --
1268int(308)
1269int(309)
1270
1271-- Setting umask to 310 --
1272int(309)
1273int(310)
1274
1275-- Setting umask to 311 --
1276int(310)
1277int(311)
1278
1279-- Setting umask to 312 --
1280int(311)
1281int(312)
1282
1283-- Setting umask to 313 --
1284int(312)
1285int(313)
1286
1287-- Setting umask to 314 --
1288int(313)
1289int(314)
1290
1291-- Setting umask to 315 --
1292int(314)
1293int(315)
1294
1295-- Setting umask to 316 --
1296int(315)
1297int(316)
1298
1299-- Setting umask to 317 --
1300int(316)
1301int(317)
1302
1303-- Setting umask to 318 --
1304int(317)
1305int(318)
1306
1307-- Setting umask to 319 --
1308int(318)
1309int(319)
1310
1311-- Setting umask to 320 --
1312int(319)
1313int(320)
1314
1315-- Setting umask to 321 --
1316int(320)
1317int(321)
1318
1319-- Setting umask to 322 --
1320int(321)
1321int(322)
1322
1323-- Setting umask to 323 --
1324int(322)
1325int(323)
1326
1327-- Setting umask to 324 --
1328int(323)
1329int(324)
1330
1331-- Setting umask to 325 --
1332int(324)
1333int(325)
1334
1335-- Setting umask to 326 --
1336int(325)
1337int(326)
1338
1339-- Setting umask to 327 --
1340int(326)
1341int(327)
1342
1343-- Setting umask to 328 --
1344int(327)
1345int(328)
1346
1347-- Setting umask to 329 --
1348int(328)
1349int(329)
1350
1351-- Setting umask to 330 --
1352int(329)
1353int(330)
1354
1355-- Setting umask to 331 --
1356int(330)
1357int(331)
1358
1359-- Setting umask to 332 --
1360int(331)
1361int(332)
1362
1363-- Setting umask to 333 --
1364int(332)
1365int(333)
1366
1367-- Setting umask to 334 --
1368int(333)
1369int(334)
1370
1371-- Setting umask to 335 --
1372int(334)
1373int(335)
1374
1375-- Setting umask to 336 --
1376int(335)
1377int(336)
1378
1379-- Setting umask to 337 --
1380int(336)
1381int(337)
1382
1383-- Setting umask to 338 --
1384int(337)
1385int(338)
1386
1387-- Setting umask to 339 --
1388int(338)
1389int(339)
1390
1391-- Setting umask to 340 --
1392int(339)
1393int(340)
1394
1395-- Setting umask to 341 --
1396int(340)
1397int(341)
1398
1399-- Setting umask to 342 --
1400int(341)
1401int(342)
1402
1403-- Setting umask to 343 --
1404int(342)
1405int(343)
1406
1407-- Setting umask to 344 --
1408int(343)
1409int(344)
1410
1411-- Setting umask to 345 --
1412int(344)
1413int(345)
1414
1415-- Setting umask to 346 --
1416int(345)
1417int(346)
1418
1419-- Setting umask to 347 --
1420int(346)
1421int(347)
1422
1423-- Setting umask to 348 --
1424int(347)
1425int(348)
1426
1427-- Setting umask to 349 --
1428int(348)
1429int(349)
1430
1431-- Setting umask to 350 --
1432int(349)
1433int(350)
1434
1435-- Setting umask to 351 --
1436int(350)
1437int(351)
1438
1439-- Setting umask to 352 --
1440int(351)
1441int(352)
1442
1443-- Setting umask to 353 --
1444int(352)
1445int(353)
1446
1447-- Setting umask to 354 --
1448int(353)
1449int(354)
1450
1451-- Setting umask to 355 --
1452int(354)
1453int(355)
1454
1455-- Setting umask to 356 --
1456int(355)
1457int(356)
1458
1459-- Setting umask to 357 --
1460int(356)
1461int(357)
1462
1463-- Setting umask to 358 --
1464int(357)
1465int(358)
1466
1467-- Setting umask to 359 --
1468int(358)
1469int(359)
1470
1471-- Setting umask to 360 --
1472int(359)
1473int(360)
1474
1475-- Setting umask to 361 --
1476int(360)
1477int(361)
1478
1479-- Setting umask to 362 --
1480int(361)
1481int(362)
1482
1483-- Setting umask to 363 --
1484int(362)
1485int(363)
1486
1487-- Setting umask to 364 --
1488int(363)
1489int(364)
1490
1491-- Setting umask to 365 --
1492int(364)
1493int(365)
1494
1495-- Setting umask to 366 --
1496int(365)
1497int(366)
1498
1499-- Setting umask to 367 --
1500int(366)
1501int(367)
1502
1503-- Setting umask to 368 --
1504int(367)
1505int(368)
1506
1507-- Setting umask to 369 --
1508int(368)
1509int(369)
1510
1511-- Setting umask to 370 --
1512int(369)
1513int(370)
1514
1515-- Setting umask to 371 --
1516int(370)
1517int(371)
1518
1519-- Setting umask to 372 --
1520int(371)
1521int(372)
1522
1523-- Setting umask to 373 --
1524int(372)
1525int(373)
1526
1527-- Setting umask to 374 --
1528int(373)
1529int(374)
1530
1531-- Setting umask to 375 --
1532int(374)
1533int(375)
1534
1535-- Setting umask to 376 --
1536int(375)
1537int(376)
1538
1539-- Setting umask to 377 --
1540int(376)
1541int(377)
1542
1543-- Setting umask to 378 --
1544int(377)
1545int(378)
1546
1547-- Setting umask to 379 --
1548int(378)
1549int(379)
1550
1551-- Setting umask to 380 --
1552int(379)
1553int(380)
1554
1555-- Setting umask to 381 --
1556int(380)
1557int(381)
1558
1559-- Setting umask to 382 --
1560int(381)
1561int(382)
1562
1563-- Setting umask to 383 --
1564int(382)
1565int(383)
1566
1567-- Setting umask to 384 --
1568int(383)
1569int(384)
1570
1571-- Setting umask to 385 --
1572int(384)
1573int(385)
1574
1575-- Setting umask to 386 --
1576int(385)
1577int(386)
1578
1579-- Setting umask to 387 --
1580int(386)
1581int(387)
1582
1583-- Setting umask to 388 --
1584int(387)
1585int(388)
1586
1587-- Setting umask to 389 --
1588int(388)
1589int(389)
1590
1591-- Setting umask to 390 --
1592int(389)
1593int(390)
1594
1595-- Setting umask to 391 --
1596int(390)
1597int(391)
1598
1599-- Setting umask to 392 --
1600int(391)
1601int(392)
1602
1603-- Setting umask to 393 --
1604int(392)
1605int(393)
1606
1607-- Setting umask to 394 --
1608int(393)
1609int(394)
1610
1611-- Setting umask to 395 --
1612int(394)
1613int(395)
1614
1615-- Setting umask to 396 --
1616int(395)
1617int(396)
1618
1619-- Setting umask to 397 --
1620int(396)
1621int(397)
1622
1623-- Setting umask to 398 --
1624int(397)
1625int(398)
1626
1627-- Setting umask to 399 --
1628int(398)
1629int(399)
1630
1631-- Setting umask to 400 --
1632int(399)
1633int(400)
1634
1635-- Setting umask to 401 --
1636int(400)
1637int(401)
1638
1639-- Setting umask to 402 --
1640int(401)
1641int(402)
1642
1643-- Setting umask to 403 --
1644int(402)
1645int(403)
1646
1647-- Setting umask to 404 --
1648int(403)
1649int(404)
1650
1651-- Setting umask to 405 --
1652int(404)
1653int(405)
1654
1655-- Setting umask to 406 --
1656int(405)
1657int(406)
1658
1659-- Setting umask to 407 --
1660int(406)
1661int(407)
1662
1663-- Setting umask to 408 --
1664int(407)
1665int(408)
1666
1667-- Setting umask to 409 --
1668int(408)
1669int(409)
1670
1671-- Setting umask to 410 --
1672int(409)
1673int(410)
1674
1675-- Setting umask to 411 --
1676int(410)
1677int(411)
1678
1679-- Setting umask to 412 --
1680int(411)
1681int(412)
1682
1683-- Setting umask to 413 --
1684int(412)
1685int(413)
1686
1687-- Setting umask to 414 --
1688int(413)
1689int(414)
1690
1691-- Setting umask to 415 --
1692int(414)
1693int(415)
1694
1695-- Setting umask to 416 --
1696int(415)
1697int(416)
1698
1699-- Setting umask to 417 --
1700int(416)
1701int(417)
1702
1703-- Setting umask to 418 --
1704int(417)
1705int(418)
1706
1707-- Setting umask to 419 --
1708int(418)
1709int(419)
1710
1711-- Setting umask to 420 --
1712int(419)
1713int(420)
1714
1715-- Setting umask to 421 --
1716int(420)
1717int(421)
1718
1719-- Setting umask to 422 --
1720int(421)
1721int(422)
1722
1723-- Setting umask to 423 --
1724int(422)
1725int(423)
1726
1727-- Setting umask to 424 --
1728int(423)
1729int(424)
1730
1731-- Setting umask to 425 --
1732int(424)
1733int(425)
1734
1735-- Setting umask to 426 --
1736int(425)
1737int(426)
1738
1739-- Setting umask to 427 --
1740int(426)
1741int(427)
1742
1743-- Setting umask to 428 --
1744int(427)
1745int(428)
1746
1747-- Setting umask to 429 --
1748int(428)
1749int(429)
1750
1751-- Setting umask to 430 --
1752int(429)
1753int(430)
1754
1755-- Setting umask to 431 --
1756int(430)
1757int(431)
1758
1759-- Setting umask to 432 --
1760int(431)
1761int(432)
1762
1763-- Setting umask to 433 --
1764int(432)
1765int(433)
1766
1767-- Setting umask to 434 --
1768int(433)
1769int(434)
1770
1771-- Setting umask to 435 --
1772int(434)
1773int(435)
1774
1775-- Setting umask to 436 --
1776int(435)
1777int(436)
1778
1779-- Setting umask to 437 --
1780int(436)
1781int(437)
1782
1783-- Setting umask to 438 --
1784int(437)
1785int(438)
1786
1787-- Setting umask to 439 --
1788int(438)
1789int(439)
1790
1791-- Setting umask to 440 --
1792int(439)
1793int(440)
1794
1795-- Setting umask to 441 --
1796int(440)
1797int(441)
1798
1799-- Setting umask to 442 --
1800int(441)
1801int(442)
1802
1803-- Setting umask to 443 --
1804int(442)
1805int(443)
1806
1807-- Setting umask to 444 --
1808int(443)
1809int(444)
1810
1811-- Setting umask to 445 --
1812int(444)
1813int(445)
1814
1815-- Setting umask to 446 --
1816int(445)
1817int(446)
1818
1819-- Setting umask to 447 --
1820int(446)
1821int(447)
1822
1823-- Setting umask to 448 --
1824int(447)
1825int(448)
1826
1827-- Setting umask to 449 --
1828int(448)
1829int(449)
1830
1831-- Setting umask to 450 --
1832int(449)
1833int(450)
1834
1835-- Setting umask to 451 --
1836int(450)
1837int(451)
1838
1839-- Setting umask to 452 --
1840int(451)
1841int(452)
1842
1843-- Setting umask to 453 --
1844int(452)
1845int(453)
1846
1847-- Setting umask to 454 --
1848int(453)
1849int(454)
1850
1851-- Setting umask to 455 --
1852int(454)
1853int(455)
1854
1855-- Setting umask to 456 --
1856int(455)
1857int(456)
1858
1859-- Setting umask to 457 --
1860int(456)
1861int(457)
1862
1863-- Setting umask to 458 --
1864int(457)
1865int(458)
1866
1867-- Setting umask to 459 --
1868int(458)
1869int(459)
1870
1871-- Setting umask to 460 --
1872int(459)
1873int(460)
1874
1875-- Setting umask to 461 --
1876int(460)
1877int(461)
1878
1879-- Setting umask to 462 --
1880int(461)
1881int(462)
1882
1883-- Setting umask to 463 --
1884int(462)
1885int(463)
1886
1887-- Setting umask to 464 --
1888int(463)
1889int(464)
1890
1891-- Setting umask to 465 --
1892int(464)
1893int(465)
1894
1895-- Setting umask to 466 --
1896int(465)
1897int(466)
1898
1899-- Setting umask to 467 --
1900int(466)
1901int(467)
1902
1903-- Setting umask to 468 --
1904int(467)
1905int(468)
1906
1907-- Setting umask to 469 --
1908int(468)
1909int(469)
1910
1911-- Setting umask to 470 --
1912int(469)
1913int(470)
1914
1915-- Setting umask to 471 --
1916int(470)
1917int(471)
1918
1919-- Setting umask to 472 --
1920int(471)
1921int(472)
1922
1923-- Setting umask to 473 --
1924int(472)
1925int(473)
1926
1927-- Setting umask to 474 --
1928int(473)
1929int(474)
1930
1931-- Setting umask to 475 --
1932int(474)
1933int(475)
1934
1935-- Setting umask to 476 --
1936int(475)
1937int(476)
1938
1939-- Setting umask to 477 --
1940int(476)
1941int(477)
1942
1943-- Setting umask to 478 --
1944int(477)
1945int(478)
1946
1947-- Setting umask to 479 --
1948int(478)
1949int(479)
1950
1951-- Setting umask to 480 --
1952int(479)
1953int(480)
1954
1955-- Setting umask to 481 --
1956int(480)
1957int(481)
1958
1959-- Setting umask to 482 --
1960int(481)
1961int(482)
1962
1963-- Setting umask to 483 --
1964int(482)
1965int(483)
1966
1967-- Setting umask to 484 --
1968int(483)
1969int(484)
1970
1971-- Setting umask to 485 --
1972int(484)
1973int(485)
1974
1975-- Setting umask to 486 --
1976int(485)
1977int(486)
1978
1979-- Setting umask to 487 --
1980int(486)
1981int(487)
1982
1983-- Setting umask to 488 --
1984int(487)
1985int(488)
1986
1987-- Setting umask to 489 --
1988int(488)
1989int(489)
1990
1991-- Setting umask to 490 --
1992int(489)
1993int(490)
1994
1995-- Setting umask to 491 --
1996int(490)
1997int(491)
1998
1999-- Setting umask to 492 --
2000int(491)
2001int(492)
2002
2003-- Setting umask to 493 --
2004int(492)
2005int(493)
2006
2007-- Setting umask to 494 --
2008int(493)
2009int(494)
2010
2011-- Setting umask to 495 --
2012int(494)
2013int(495)
2014
2015-- Setting umask to 496 --
2016int(495)
2017int(496)
2018
2019-- Setting umask to 497 --
2020int(496)
2021int(497)
2022
2023-- Setting umask to 498 --
2024int(497)
2025int(498)
2026
2027-- Setting umask to 499 --
2028int(498)
2029int(499)
2030
2031-- Setting umask to 500 --
2032int(499)
2033int(500)
2034
2035-- Setting umask to 501 --
2036int(500)
2037int(501)
2038
2039-- Setting umask to 502 --
2040int(501)
2041int(502)
2042
2043-- Setting umask to 503 --
2044int(502)
2045int(503)
2046
2047-- Setting umask to 504 --
2048int(503)
2049int(504)
2050
2051-- Setting umask to 505 --
2052int(504)
2053int(505)
2054
2055-- Setting umask to 506 --
2056int(505)
2057int(506)
2058
2059-- Setting umask to 507 --
2060int(506)
2061int(507)
2062
2063-- Setting umask to 508 --
2064int(507)
2065int(508)
2066
2067-- Setting umask to 509 --
2068int(508)
2069int(509)
2070
2071-- Setting umask to 510 --
2072int(509)
2073int(510)
2074
2075-- Setting umask to 511 --
2076int(510)
2077int(511)
2078
2079Done
2080