1--TEST--
2Test tempnam() function: usage variations - permissions(0000 to 0777) of dir
3--SKIPIF--
4<?php
5if (substr(PHP_OS, 0, 3) == 'WIN') {
6    die('skip Not valid for Windows');
7}
8// Skip if being run by root
9$filename = dirname(__FILE__)."/is_readable_root_check.tmp";
10$fp = fopen($filename, 'w');
11fclose($fp);
12if(fileowner($filename) == 0) {
13        unlink ($filename);
14        die('skip cannot be run as root');
15}
16unlink($filename);
17?>
18--FILE--
19<?php
20/* Prototype:  string tempnam ( string $dir, string $prefix );
21   Description: Create file with unique file name.
22*/
23
24/* Trying to create the file in a dir with permissions from 0000 to 0777,
25     Allowable permissions: files are expected to be created in the input dir
26     Non-allowable permissions: files are expected to be created in '/tmp' dir
27*/
28
29echo "*** Testing tempnam() with dir of permissions from 0000 to 0777 ***\n";
30$file_path = dirname(__FILE__);
31$dir_name = $file_path."/tempnam_variation4";
32$prefix = "tempnamVar4.";
33
34mkdir($dir_name);
35
36for($mode = 0000; $mode <= 0777; $mode++) {
37  echo "-- dir perms ";
38  printf("%o", $mode);
39  echo " --\n";
40  chmod($dir_name, $mode);
41  $file_name = tempnam($dir_name, $prefix);
42
43  if(file_exists($file_name) ) {
44    if (realpath(dirname($file_name)) == realpath(sys_get_temp_dir())) {
45       $msg = " created in temp dir ";
46    }
47    else if (dirname($file_name) == $dir_name) {
48       $msg = " created in requested dir";
49    }
50    else {
51       $msg = " created in unexpected dir";
52    }
53
54    echo $msg."\n";
55    unlink($file_name);
56  }
57  else {
58    print("FAILED: File is not created\n");
59  }
60}
61
62rmdir($dir_name);
63
64echo "*** Done ***\n";
65?>
66--EXPECTF--
67*** Testing tempnam() with dir of permissions from 0000 to 0777 ***
68-- dir perms 0 --
69 created in temp dir
70-- dir perms 1 --
71 created in temp dir
72-- dir perms 2 --
73 created in temp dir
74-- dir perms 3 --
75 created in temp dir
76-- dir perms 4 --
77 created in temp dir
78-- dir perms 5 --
79 created in temp dir
80-- dir perms 6 --
81 created in temp dir
82-- dir perms 7 --
83 created in temp dir
84-- dir perms 10 --
85 created in temp dir
86-- dir perms 11 --
87 created in temp dir
88-- dir perms 12 --
89 created in temp dir
90-- dir perms 13 --
91 created in temp dir
92-- dir perms 14 --
93 created in temp dir
94-- dir perms 15 --
95 created in temp dir
96-- dir perms 16 --
97 created in temp dir
98-- dir perms 17 --
99 created in temp dir
100-- dir perms 20 --
101 created in temp dir
102-- dir perms 21 --
103 created in temp dir
104-- dir perms 22 --
105 created in temp dir
106-- dir perms 23 --
107 created in temp dir
108-- dir perms 24 --
109 created in temp dir
110-- dir perms 25 --
111 created in temp dir
112-- dir perms 26 --
113 created in temp dir
114-- dir perms 27 --
115 created in temp dir
116-- dir perms 30 --
117 created in temp dir
118-- dir perms 31 --
119 created in temp dir
120-- dir perms 32 --
121 created in temp dir
122-- dir perms 33 --
123 created in temp dir
124-- dir perms 34 --
125 created in temp dir
126-- dir perms 35 --
127 created in temp dir
128-- dir perms 36 --
129 created in temp dir
130-- dir perms 37 --
131 created in temp dir
132-- dir perms 40 --
133 created in temp dir
134-- dir perms 41 --
135 created in temp dir
136-- dir perms 42 --
137 created in temp dir
138-- dir perms 43 --
139 created in temp dir
140-- dir perms 44 --
141 created in temp dir
142-- dir perms 45 --
143 created in temp dir
144-- dir perms 46 --
145 created in temp dir
146-- dir perms 47 --
147 created in temp dir
148-- dir perms 50 --
149 created in temp dir
150-- dir perms 51 --
151 created in temp dir
152-- dir perms 52 --
153 created in temp dir
154-- dir perms 53 --
155 created in temp dir
156-- dir perms 54 --
157 created in temp dir
158-- dir perms 55 --
159 created in temp dir
160-- dir perms 56 --
161 created in temp dir
162-- dir perms 57 --
163 created in temp dir
164-- dir perms 60 --
165 created in temp dir
166-- dir perms 61 --
167 created in temp dir
168-- dir perms 62 --
169 created in temp dir
170-- dir perms 63 --
171 created in temp dir
172-- dir perms 64 --
173 created in temp dir
174-- dir perms 65 --
175 created in temp dir
176-- dir perms 66 --
177 created in temp dir
178-- dir perms 67 --
179 created in temp dir
180-- dir perms 70 --
181 created in temp dir
182-- dir perms 71 --
183 created in temp dir
184-- dir perms 72 --
185 created in temp dir
186-- dir perms 73 --
187 created in temp dir
188-- dir perms 74 --
189 created in temp dir
190-- dir perms 75 --
191 created in temp dir
192-- dir perms 76 --
193 created in temp dir
194-- dir perms 77 --
195 created in temp dir
196-- dir perms 100 --
197 created in temp dir
198-- dir perms 101 --
199 created in temp dir
200-- dir perms 102 --
201 created in temp dir
202-- dir perms 103 --
203 created in temp dir
204-- dir perms 104 --
205 created in temp dir
206-- dir perms 105 --
207 created in temp dir
208-- dir perms 106 --
209 created in temp dir
210-- dir perms 107 --
211 created in temp dir
212-- dir perms 110 --
213 created in temp dir
214-- dir perms 111 --
215 created in temp dir
216-- dir perms 112 --
217 created in temp dir
218-- dir perms 113 --
219 created in temp dir
220-- dir perms 114 --
221 created in temp dir
222-- dir perms 115 --
223 created in temp dir
224-- dir perms 116 --
225 created in temp dir
226-- dir perms 117 --
227 created in temp dir
228-- dir perms 120 --
229 created in temp dir
230-- dir perms 121 --
231 created in temp dir
232-- dir perms 122 --
233 created in temp dir
234-- dir perms 123 --
235 created in temp dir
236-- dir perms 124 --
237 created in temp dir
238-- dir perms 125 --
239 created in temp dir
240-- dir perms 126 --
241 created in temp dir
242-- dir perms 127 --
243 created in temp dir
244-- dir perms 130 --
245 created in temp dir
246-- dir perms 131 --
247 created in temp dir
248-- dir perms 132 --
249 created in temp dir
250-- dir perms 133 --
251 created in temp dir
252-- dir perms 134 --
253 created in temp dir
254-- dir perms 135 --
255 created in temp dir
256-- dir perms 136 --
257 created in temp dir
258-- dir perms 137 --
259 created in temp dir
260-- dir perms 140 --
261 created in temp dir
262-- dir perms 141 --
263 created in temp dir
264-- dir perms 142 --
265 created in temp dir
266-- dir perms 143 --
267 created in temp dir
268-- dir perms 144 --
269 created in temp dir
270-- dir perms 145 --
271 created in temp dir
272-- dir perms 146 --
273 created in temp dir
274-- dir perms 147 --
275 created in temp dir
276-- dir perms 150 --
277 created in temp dir
278-- dir perms 151 --
279 created in temp dir
280-- dir perms 152 --
281 created in temp dir
282-- dir perms 153 --
283 created in temp dir
284-- dir perms 154 --
285 created in temp dir
286-- dir perms 155 --
287 created in temp dir
288-- dir perms 156 --
289 created in temp dir
290-- dir perms 157 --
291 created in temp dir
292-- dir perms 160 --
293 created in temp dir
294-- dir perms 161 --
295 created in temp dir
296-- dir perms 162 --
297 created in temp dir
298-- dir perms 163 --
299 created in temp dir
300-- dir perms 164 --
301 created in temp dir
302-- dir perms 165 --
303 created in temp dir
304-- dir perms 166 --
305 created in temp dir
306-- dir perms 167 --
307 created in temp dir
308-- dir perms 170 --
309 created in temp dir
310-- dir perms 171 --
311 created in temp dir
312-- dir perms 172 --
313 created in temp dir
314-- dir perms 173 --
315 created in temp dir
316-- dir perms 174 --
317 created in temp dir
318-- dir perms 175 --
319 created in temp dir
320-- dir perms 176 --
321 created in temp dir
322-- dir perms 177 --
323 created in temp dir
324-- dir perms 200 --
325 created in temp dir
326-- dir perms 201 --
327 created in temp dir
328-- dir perms 202 --
329 created in temp dir
330-- dir perms 203 --
331 created in temp dir
332-- dir perms 204 --
333 created in temp dir
334-- dir perms 205 --
335 created in temp dir
336-- dir perms 206 --
337 created in temp dir
338-- dir perms 207 --
339 created in temp dir
340-- dir perms 210 --
341 created in temp dir
342-- dir perms 211 --
343 created in temp dir
344-- dir perms 212 --
345 created in temp dir
346-- dir perms 213 --
347 created in temp dir
348-- dir perms 214 --
349 created in temp dir
350-- dir perms 215 --
351 created in temp dir
352-- dir perms 216 --
353 created in temp dir
354-- dir perms 217 --
355 created in temp dir
356-- dir perms 220 --
357 created in temp dir
358-- dir perms 221 --
359 created in temp dir
360-- dir perms 222 --
361 created in temp dir
362-- dir perms 223 --
363 created in temp dir
364-- dir perms 224 --
365 created in temp dir
366-- dir perms 225 --
367 created in temp dir
368-- dir perms 226 --
369 created in temp dir
370-- dir perms 227 --
371 created in temp dir
372-- dir perms 230 --
373 created in temp dir
374-- dir perms 231 --
375 created in temp dir
376-- dir perms 232 --
377 created in temp dir
378-- dir perms 233 --
379 created in temp dir
380-- dir perms 234 --
381 created in temp dir
382-- dir perms 235 --
383 created in temp dir
384-- dir perms 236 --
385 created in temp dir
386-- dir perms 237 --
387 created in temp dir
388-- dir perms 240 --
389 created in temp dir
390-- dir perms 241 --
391 created in temp dir
392-- dir perms 242 --
393 created in temp dir
394-- dir perms 243 --
395 created in temp dir
396-- dir perms 244 --
397 created in temp dir
398-- dir perms 245 --
399 created in temp dir
400-- dir perms 246 --
401 created in temp dir
402-- dir perms 247 --
403 created in temp dir
404-- dir perms 250 --
405 created in temp dir
406-- dir perms 251 --
407 created in temp dir
408-- dir perms 252 --
409 created in temp dir
410-- dir perms 253 --
411 created in temp dir
412-- dir perms 254 --
413 created in temp dir
414-- dir perms 255 --
415 created in temp dir
416-- dir perms 256 --
417 created in temp dir
418-- dir perms 257 --
419 created in temp dir
420-- dir perms 260 --
421 created in temp dir
422-- dir perms 261 --
423 created in temp dir
424-- dir perms 262 --
425 created in temp dir
426-- dir perms 263 --
427 created in temp dir
428-- dir perms 264 --
429 created in temp dir
430-- dir perms 265 --
431 created in temp dir
432-- dir perms 266 --
433 created in temp dir
434-- dir perms 267 --
435 created in temp dir
436-- dir perms 270 --
437 created in temp dir
438-- dir perms 271 --
439 created in temp dir
440-- dir perms 272 --
441 created in temp dir
442-- dir perms 273 --
443 created in temp dir
444-- dir perms 274 --
445 created in temp dir
446-- dir perms 275 --
447 created in temp dir
448-- dir perms 276 --
449 created in temp dir
450-- dir perms 277 --
451 created in temp dir
452-- dir perms 300 --
453 created in requested dir
454-- dir perms 301 --
455 created in requested dir
456-- dir perms 302 --
457 created in requested dir
458-- dir perms 303 --
459 created in requested dir
460-- dir perms 304 --
461 created in requested dir
462-- dir perms 305 --
463 created in requested dir
464-- dir perms 306 --
465 created in requested dir
466-- dir perms 307 --
467 created in requested dir
468-- dir perms 310 --
469 created in requested dir
470-- dir perms 311 --
471 created in requested dir
472-- dir perms 312 --
473 created in requested dir
474-- dir perms 313 --
475 created in requested dir
476-- dir perms 314 --
477 created in requested dir
478-- dir perms 315 --
479 created in requested dir
480-- dir perms 316 --
481 created in requested dir
482-- dir perms 317 --
483 created in requested dir
484-- dir perms 320 --
485 created in requested dir
486-- dir perms 321 --
487 created in requested dir
488-- dir perms 322 --
489 created in requested dir
490-- dir perms 323 --
491 created in requested dir
492-- dir perms 324 --
493 created in requested dir
494-- dir perms 325 --
495 created in requested dir
496-- dir perms 326 --
497 created in requested dir
498-- dir perms 327 --
499 created in requested dir
500-- dir perms 330 --
501 created in requested dir
502-- dir perms 331 --
503 created in requested dir
504-- dir perms 332 --
505 created in requested dir
506-- dir perms 333 --
507 created in requested dir
508-- dir perms 334 --
509 created in requested dir
510-- dir perms 335 --
511 created in requested dir
512-- dir perms 336 --
513 created in requested dir
514-- dir perms 337 --
515 created in requested dir
516-- dir perms 340 --
517 created in requested dir
518-- dir perms 341 --
519 created in requested dir
520-- dir perms 342 --
521 created in requested dir
522-- dir perms 343 --
523 created in requested dir
524-- dir perms 344 --
525 created in requested dir
526-- dir perms 345 --
527 created in requested dir
528-- dir perms 346 --
529 created in requested dir
530-- dir perms 347 --
531 created in requested dir
532-- dir perms 350 --
533 created in requested dir
534-- dir perms 351 --
535 created in requested dir
536-- dir perms 352 --
537 created in requested dir
538-- dir perms 353 --
539 created in requested dir
540-- dir perms 354 --
541 created in requested dir
542-- dir perms 355 --
543 created in requested dir
544-- dir perms 356 --
545 created in requested dir
546-- dir perms 357 --
547 created in requested dir
548-- dir perms 360 --
549 created in requested dir
550-- dir perms 361 --
551 created in requested dir
552-- dir perms 362 --
553 created in requested dir
554-- dir perms 363 --
555 created in requested dir
556-- dir perms 364 --
557 created in requested dir
558-- dir perms 365 --
559 created in requested dir
560-- dir perms 366 --
561 created in requested dir
562-- dir perms 367 --
563 created in requested dir
564-- dir perms 370 --
565 created in requested dir
566-- dir perms 371 --
567 created in requested dir
568-- dir perms 372 --
569 created in requested dir
570-- dir perms 373 --
571 created in requested dir
572-- dir perms 374 --
573 created in requested dir
574-- dir perms 375 --
575 created in requested dir
576-- dir perms 376 --
577 created in requested dir
578-- dir perms 377 --
579 created in requested dir
580-- dir perms 400 --
581 created in temp dir
582-- dir perms 401 --
583 created in temp dir
584-- dir perms 402 --
585 created in temp dir
586-- dir perms 403 --
587 created in temp dir
588-- dir perms 404 --
589 created in temp dir
590-- dir perms 405 --
591 created in temp dir
592-- dir perms 406 --
593 created in temp dir
594-- dir perms 407 --
595 created in temp dir
596-- dir perms 410 --
597 created in temp dir
598-- dir perms 411 --
599 created in temp dir
600-- dir perms 412 --
601 created in temp dir
602-- dir perms 413 --
603 created in temp dir
604-- dir perms 414 --
605 created in temp dir
606-- dir perms 415 --
607 created in temp dir
608-- dir perms 416 --
609 created in temp dir
610-- dir perms 417 --
611 created in temp dir
612-- dir perms 420 --
613 created in temp dir
614-- dir perms 421 --
615 created in temp dir
616-- dir perms 422 --
617 created in temp dir
618-- dir perms 423 --
619 created in temp dir
620-- dir perms 424 --
621 created in temp dir
622-- dir perms 425 --
623 created in temp dir
624-- dir perms 426 --
625 created in temp dir
626-- dir perms 427 --
627 created in temp dir
628-- dir perms 430 --
629 created in temp dir
630-- dir perms 431 --
631 created in temp dir
632-- dir perms 432 --
633 created in temp dir
634-- dir perms 433 --
635 created in temp dir
636-- dir perms 434 --
637 created in temp dir
638-- dir perms 435 --
639 created in temp dir
640-- dir perms 436 --
641 created in temp dir
642-- dir perms 437 --
643 created in temp dir
644-- dir perms 440 --
645 created in temp dir
646-- dir perms 441 --
647 created in temp dir
648-- dir perms 442 --
649 created in temp dir
650-- dir perms 443 --
651 created in temp dir
652-- dir perms 444 --
653 created in temp dir
654-- dir perms 445 --
655 created in temp dir
656-- dir perms 446 --
657 created in temp dir
658-- dir perms 447 --
659 created in temp dir
660-- dir perms 450 --
661 created in temp dir
662-- dir perms 451 --
663 created in temp dir
664-- dir perms 452 --
665 created in temp dir
666-- dir perms 453 --
667 created in temp dir
668-- dir perms 454 --
669 created in temp dir
670-- dir perms 455 --
671 created in temp dir
672-- dir perms 456 --
673 created in temp dir
674-- dir perms 457 --
675 created in temp dir
676-- dir perms 460 --
677 created in temp dir
678-- dir perms 461 --
679 created in temp dir
680-- dir perms 462 --
681 created in temp dir
682-- dir perms 463 --
683 created in temp dir
684-- dir perms 464 --
685 created in temp dir
686-- dir perms 465 --
687 created in temp dir
688-- dir perms 466 --
689 created in temp dir
690-- dir perms 467 --
691 created in temp dir
692-- dir perms 470 --
693 created in temp dir
694-- dir perms 471 --
695 created in temp dir
696-- dir perms 472 --
697 created in temp dir
698-- dir perms 473 --
699 created in temp dir
700-- dir perms 474 --
701 created in temp dir
702-- dir perms 475 --
703 created in temp dir
704-- dir perms 476 --
705 created in temp dir
706-- dir perms 477 --
707 created in temp dir
708-- dir perms 500 --
709 created in temp dir
710-- dir perms 501 --
711 created in temp dir
712-- dir perms 502 --
713 created in temp dir
714-- dir perms 503 --
715 created in temp dir
716-- dir perms 504 --
717 created in temp dir
718-- dir perms 505 --
719 created in temp dir
720-- dir perms 506 --
721 created in temp dir
722-- dir perms 507 --
723 created in temp dir
724-- dir perms 510 --
725 created in temp dir
726-- dir perms 511 --
727 created in temp dir
728-- dir perms 512 --
729 created in temp dir
730-- dir perms 513 --
731 created in temp dir
732-- dir perms 514 --
733 created in temp dir
734-- dir perms 515 --
735 created in temp dir
736-- dir perms 516 --
737 created in temp dir
738-- dir perms 517 --
739 created in temp dir
740-- dir perms 520 --
741 created in temp dir
742-- dir perms 521 --
743 created in temp dir
744-- dir perms 522 --
745 created in temp dir
746-- dir perms 523 --
747 created in temp dir
748-- dir perms 524 --
749 created in temp dir
750-- dir perms 525 --
751 created in temp dir
752-- dir perms 526 --
753 created in temp dir
754-- dir perms 527 --
755 created in temp dir
756-- dir perms 530 --
757 created in temp dir
758-- dir perms 531 --
759 created in temp dir
760-- dir perms 532 --
761 created in temp dir
762-- dir perms 533 --
763 created in temp dir
764-- dir perms 534 --
765 created in temp dir
766-- dir perms 535 --
767 created in temp dir
768-- dir perms 536 --
769 created in temp dir
770-- dir perms 537 --
771 created in temp dir
772-- dir perms 540 --
773 created in temp dir
774-- dir perms 541 --
775 created in temp dir
776-- dir perms 542 --
777 created in temp dir
778-- dir perms 543 --
779 created in temp dir
780-- dir perms 544 --
781 created in temp dir
782-- dir perms 545 --
783 created in temp dir
784-- dir perms 546 --
785 created in temp dir
786-- dir perms 547 --
787 created in temp dir
788-- dir perms 550 --
789 created in temp dir
790-- dir perms 551 --
791 created in temp dir
792-- dir perms 552 --
793 created in temp dir
794-- dir perms 553 --
795 created in temp dir
796-- dir perms 554 --
797 created in temp dir
798-- dir perms 555 --
799 created in temp dir
800-- dir perms 556 --
801 created in temp dir
802-- dir perms 557 --
803 created in temp dir
804-- dir perms 560 --
805 created in temp dir
806-- dir perms 561 --
807 created in temp dir
808-- dir perms 562 --
809 created in temp dir
810-- dir perms 563 --
811 created in temp dir
812-- dir perms 564 --
813 created in temp dir
814-- dir perms 565 --
815 created in temp dir
816-- dir perms 566 --
817 created in temp dir
818-- dir perms 567 --
819 created in temp dir
820-- dir perms 570 --
821 created in temp dir
822-- dir perms 571 --
823 created in temp dir
824-- dir perms 572 --
825 created in temp dir
826-- dir perms 573 --
827 created in temp dir
828-- dir perms 574 --
829 created in temp dir
830-- dir perms 575 --
831 created in temp dir
832-- dir perms 576 --
833 created in temp dir
834-- dir perms 577 --
835 created in temp dir
836-- dir perms 600 --
837 created in temp dir
838-- dir perms 601 --
839 created in temp dir
840-- dir perms 602 --
841 created in temp dir
842-- dir perms 603 --
843 created in temp dir
844-- dir perms 604 --
845 created in temp dir
846-- dir perms 605 --
847 created in temp dir
848-- dir perms 606 --
849 created in temp dir
850-- dir perms 607 --
851 created in temp dir
852-- dir perms 610 --
853 created in temp dir
854-- dir perms 611 --
855 created in temp dir
856-- dir perms 612 --
857 created in temp dir
858-- dir perms 613 --
859 created in temp dir
860-- dir perms 614 --
861 created in temp dir
862-- dir perms 615 --
863 created in temp dir
864-- dir perms 616 --
865 created in temp dir
866-- dir perms 617 --
867 created in temp dir
868-- dir perms 620 --
869 created in temp dir
870-- dir perms 621 --
871 created in temp dir
872-- dir perms 622 --
873 created in temp dir
874-- dir perms 623 --
875 created in temp dir
876-- dir perms 624 --
877 created in temp dir
878-- dir perms 625 --
879 created in temp dir
880-- dir perms 626 --
881 created in temp dir
882-- dir perms 627 --
883 created in temp dir
884-- dir perms 630 --
885 created in temp dir
886-- dir perms 631 --
887 created in temp dir
888-- dir perms 632 --
889 created in temp dir
890-- dir perms 633 --
891 created in temp dir
892-- dir perms 634 --
893 created in temp dir
894-- dir perms 635 --
895 created in temp dir
896-- dir perms 636 --
897 created in temp dir
898-- dir perms 637 --
899 created in temp dir
900-- dir perms 640 --
901 created in temp dir
902-- dir perms 641 --
903 created in temp dir
904-- dir perms 642 --
905 created in temp dir
906-- dir perms 643 --
907 created in temp dir
908-- dir perms 644 --
909 created in temp dir
910-- dir perms 645 --
911 created in temp dir
912-- dir perms 646 --
913 created in temp dir
914-- dir perms 647 --
915 created in temp dir
916-- dir perms 650 --
917 created in temp dir
918-- dir perms 651 --
919 created in temp dir
920-- dir perms 652 --
921 created in temp dir
922-- dir perms 653 --
923 created in temp dir
924-- dir perms 654 --
925 created in temp dir
926-- dir perms 655 --
927 created in temp dir
928-- dir perms 656 --
929 created in temp dir
930-- dir perms 657 --
931 created in temp dir
932-- dir perms 660 --
933 created in temp dir
934-- dir perms 661 --
935 created in temp dir
936-- dir perms 662 --
937 created in temp dir
938-- dir perms 663 --
939 created in temp dir
940-- dir perms 664 --
941 created in temp dir
942-- dir perms 665 --
943 created in temp dir
944-- dir perms 666 --
945 created in temp dir
946-- dir perms 667 --
947 created in temp dir
948-- dir perms 670 --
949 created in temp dir
950-- dir perms 671 --
951 created in temp dir
952-- dir perms 672 --
953 created in temp dir
954-- dir perms 673 --
955 created in temp dir
956-- dir perms 674 --
957 created in temp dir
958-- dir perms 675 --
959 created in temp dir
960-- dir perms 676 --
961 created in temp dir
962-- dir perms 677 --
963 created in temp dir
964-- dir perms 700 --
965 created in requested dir
966-- dir perms 701 --
967 created in requested dir
968-- dir perms 702 --
969 created in requested dir
970-- dir perms 703 --
971 created in requested dir
972-- dir perms 704 --
973 created in requested dir
974-- dir perms 705 --
975 created in requested dir
976-- dir perms 706 --
977 created in requested dir
978-- dir perms 707 --
979 created in requested dir
980-- dir perms 710 --
981 created in requested dir
982-- dir perms 711 --
983 created in requested dir
984-- dir perms 712 --
985 created in requested dir
986-- dir perms 713 --
987 created in requested dir
988-- dir perms 714 --
989 created in requested dir
990-- dir perms 715 --
991 created in requested dir
992-- dir perms 716 --
993 created in requested dir
994-- dir perms 717 --
995 created in requested dir
996-- dir perms 720 --
997 created in requested dir
998-- dir perms 721 --
999 created in requested dir
1000-- dir perms 722 --
1001 created in requested dir
1002-- dir perms 723 --
1003 created in requested dir
1004-- dir perms 724 --
1005 created in requested dir
1006-- dir perms 725 --
1007 created in requested dir
1008-- dir perms 726 --
1009 created in requested dir
1010-- dir perms 727 --
1011 created in requested dir
1012-- dir perms 730 --
1013 created in requested dir
1014-- dir perms 731 --
1015 created in requested dir
1016-- dir perms 732 --
1017 created in requested dir
1018-- dir perms 733 --
1019 created in requested dir
1020-- dir perms 734 --
1021 created in requested dir
1022-- dir perms 735 --
1023 created in requested dir
1024-- dir perms 736 --
1025 created in requested dir
1026-- dir perms 737 --
1027 created in requested dir
1028-- dir perms 740 --
1029 created in requested dir
1030-- dir perms 741 --
1031 created in requested dir
1032-- dir perms 742 --
1033 created in requested dir
1034-- dir perms 743 --
1035 created in requested dir
1036-- dir perms 744 --
1037 created in requested dir
1038-- dir perms 745 --
1039 created in requested dir
1040-- dir perms 746 --
1041 created in requested dir
1042-- dir perms 747 --
1043 created in requested dir
1044-- dir perms 750 --
1045 created in requested dir
1046-- dir perms 751 --
1047 created in requested dir
1048-- dir perms 752 --
1049 created in requested dir
1050-- dir perms 753 --
1051 created in requested dir
1052-- dir perms 754 --
1053 created in requested dir
1054-- dir perms 755 --
1055 created in requested dir
1056-- dir perms 756 --
1057 created in requested dir
1058-- dir perms 757 --
1059 created in requested dir
1060-- dir perms 760 --
1061 created in requested dir
1062-- dir perms 761 --
1063 created in requested dir
1064-- dir perms 762 --
1065 created in requested dir
1066-- dir perms 763 --
1067 created in requested dir
1068-- dir perms 764 --
1069 created in requested dir
1070-- dir perms 765 --
1071 created in requested dir
1072-- dir perms 766 --
1073 created in requested dir
1074-- dir perms 767 --
1075 created in requested dir
1076-- dir perms 770 --
1077 created in requested dir
1078-- dir perms 771 --
1079 created in requested dir
1080-- dir perms 772 --
1081 created in requested dir
1082-- dir perms 773 --
1083 created in requested dir
1084-- dir perms 774 --
1085 created in requested dir
1086-- dir perms 775 --
1087 created in requested dir
1088-- dir perms 776 --
1089 created in requested dir
1090-- dir perms 777 --
1091 created in requested dir
1092*** Done ***
1093