Fixed bug #14527: fixPermissions() for ENABLE_INSTALL_TOOL and extension import
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 31 May 2010 10:51:57 +0000 (10:51 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 31 May 2010 10:51:57 +0000 (10:51 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7789 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/mod/tools/em/class.em_index.php
typo3/sysext/setup/mod/index.php

index f2f6ad6..d5bc986 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2010-05-31  Christian Kuhn  <lolli@schwarzbu.ch>
 
+       * Fixed bug #14527: fixPermissions() for ENABLE_INSTALL_TOOL and extension import
        * Fixed bug #13701: @ini_set() works only on windows, on some unices it could render the function unusable (Thanks to Stephan Seitz)
 
 2010-05-31  Steffen Kamper  <info@sk-typo3.de>
index 6c355fe..cecd69e 100644 (file)
@@ -2022,6 +2022,8 @@ EXTENSION KEYS:
                                                                                        }
                                                                                }
 
+                                                                               t3lib_div::fixPermissions($extDirPath, TRUE);
+
                                                                                        // No content, no errors. Create success output here:
                                                                                if (!$content)  {
                                                                                        $messageContent = sprintf($GLOBALS['LANG']->getLL('ext_import_success_folder'), $extDirPath) . '<br />';
index d2f8603..19e9e40 100755 (executable)
@@ -327,6 +327,7 @@ class SC_mod_user_setup_index {
                        }
                        if (t3lib_div::_POST('createInstallToolEnableFile')) {
                                touch(PATH_typo3conf . 'ENABLE_INSTALL_TOOL');
+                               t3lib_div::fixPermissions(PATH_typo3conf . 'ENABLE_INSTALL_TOOL');
                                $installToolEnableFileExists = is_file(PATH_typo3conf . 'ENABLE_INSTALL_TOOL');
                                if ($installToolEnableFileExists) {
                                        $flashMessage = t3lib_div::makeInstance(