diff --git a/inc/init.php b/inc/init.php
index 22959cf1672c45a576ef3779cb8d96a00f85d3a5..d730ca76c460a47703acacd86b0078f0e3e3b23a 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -157,7 +157,8 @@ function init_paths(){
                  'metadir'   => 'meta',
                  'cachedir'  => 'cache',
                  'indexdir'  => 'index',
-                 'lockdir'   => 'locks');
+                 'lockdir'   => 'locks',
+                 'tmpdir'    => 'tmp');
 
   foreach($paths as $c => $p){
     if(empty($conf[$c]))  $conf[$c] = $conf['savedir'].'/'.$p;
diff --git a/install.php b/install.php
index bf8bccea267680204d685378b3eaf97d463a532e..3c0eb604ed5accea2cb6e3dd3f2ad81f2dc23d4c 100644
--- a/install.php
+++ b/install.php
@@ -396,6 +396,7 @@ function check_permissions(){
         'cache'     => DOKU_INC.'data/cache',
         'locks'     => DOKU_INC.'data/locks',
         'index'     => DOKU_INC.'data/index',
+        'tmp'       => DOKU_INC.'data/tmp'
     );
 
     $ok = true;