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