aboutsummaryrefslogtreecommitdiffstats
path: root/install/db
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--install/db/80-database.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/db/80-database.php b/install/db/80-database.php
index a6e927732..fd403d8d7 100644
--- a/install/db/80-database.php
+++ b/install/db/80-database.php
@@ -962,6 +962,7 @@ foreach ($files as $file)
if (is_file($file))
{
echo 'Delete file '.$file."\n";
+ @chmod($file, 0777);
if (! unlink($file))
{
echo 'Error on delete file '.$file."\n";
@@ -970,6 +971,7 @@ foreach ($files as $file)
elseif (is_dir($file))
{
echo 'Delete directory '.$file."\n";
+ @chmod($file, 0777);
if (! rmdir($file))
{
echo 'Error on directory file '.$file."\n";