diff --git a/lib/setup.php b/lib/setup.php
index ecdf44b9f970345a4b4d63470c5ccf0767708936..9bb6e2df513422994b2ab16c43746e0481476e64 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -287,6 +287,7 @@ class OC_Setup {
 		$content = "deny from all\n";
 		$content.= "IndexIgnore *";
 		file_put_contents(OC_Config::getValue('datadirectory', $SERVERROOT.'/data').'/.htaccess', $content);
+		file_put_contents(OC_Config::getValue('datadirectory', $SERVERROOT.'/data').'/index.html', '');
 	}
 }