@@ -581,7 +581,7 @@ def _createFilesDir():
581581
582582 if not os .path .isdir (conf .filePath ):
583583 try :
584- os .makedirs (conf .filePath , 0755 )
584+ os .makedirs (conf .filePath )
585585 except OSError , ex :
586586 tempDir = tempfile .mkdtemp (prefix = "sqlmapfiles" )
587587 warnMsg = "unable to create files directory "
@@ -603,7 +603,7 @@ def _createDumpDir():
603603
604604 if not os .path .isdir (conf .dumpPath ):
605605 try :
606- os .makedirs (conf .dumpPath , 0755 )
606+ os .makedirs (conf .dumpPath )
607607 except OSError , ex :
608608 tempDir = tempfile .mkdtemp (prefix = "sqlmapdump" )
609609 warnMsg = "unable to create dump directory "
@@ -624,7 +624,7 @@ def _createTargetDirs():
624624
625625 try :
626626 if not os .path .isdir (paths .SQLMAP_OUTPUT_PATH ):
627- os .makedirs (paths .SQLMAP_OUTPUT_PATH , 0755 )
627+ os .makedirs (paths .SQLMAP_OUTPUT_PATH )
628628
629629 _ = os .path .join (paths .SQLMAP_OUTPUT_PATH , randomStr ())
630630 open (_ , "w+b" ).close ()
@@ -654,7 +654,7 @@ def _createTargetDirs():
654654
655655 try :
656656 if not os .path .isdir (conf .outputPath ):
657- os .makedirs (conf .outputPath , 0755 )
657+ os .makedirs (conf .outputPath )
658658 except (OSError , IOError , TypeError ), ex :
659659 try :
660660 tempDir = tempfile .mkdtemp (prefix = "sqlmapoutput" )
0 commit comments