about summary refs log tree commit diff
path: root/mkinstalldirs
diff options
context:
space:
mode:
Diffstat (limited to 'mkinstalldirs')
-rwxr-xr-xmkinstalldirs1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkinstalldirs b/mkinstalldirs
index 0801ec2c9..4ae9ac706 100755
--- a/mkinstalldirs
+++ b/mkinstalldirs
@@ -21,6 +21,7 @@ for file in ${1+"$@"} ; do
      if test ! -d "$pathcomp"; then
         echo "mkdir $pathcomp" 1>&2
         mkdir "$pathcomp" || errstatus=$?
+        chmod 0755 "$pathcomp"
      fi
 
      pathcomp="$pathcomp/"