diff --git a/mkinstalldirs b/mkinstalldirs index d0fd194fd6c74a8fe333eb68698337eef16273fc..521ecbe8d8ea4f862d6b583b8683314cf22210b5 100755 --- a/mkinstalldirs +++ b/mkinstalldirs @@ -22,9 +22,9 @@ do esac if test ! -d "$pathcomp"; then - echo "mkdir $pathcomp" 1>&2 + echo "mkdir -m0755 $pathcomp" 1>&2 - mkdir "$pathcomp" || lasterr=$? + mkdir -m0755 "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr