[FEATURE] ext:install Relaxed permission check
The document root folder may not have correct permissions and they can not be fixed if the owner is not the executing webserver user. This is a common issue during installation, currently the first step breaks if permission on document root are not 2770 and the folder is not owned by the executing webserver user. The patch adds a new option "targetPermissionRelaxed" to DirectoryNodes and uses it on the RootNode to lower the severity if permissions are not correct. The installation will proceed then as long as sub folders can be created. Change-Id: Ibde9f7ff0dde14502ac24fdb73c0a2ed384119a6 Resolves: #52356 Releases: 6.2 Reviewed-on: https://review.typo3.org/24130 Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Susanne Moog Tested-by: Susanne Moog
Showing
- typo3/sysext/install/Classes/Controller/Action/Tool/FolderStructure.php 6 additions, 1 deletion...nstall/Classes/Controller/Action/Tool/FolderStructure.php
- typo3/sysext/install/Classes/FolderStructure/AbstractNode.php 29 additions, 6 deletions...3/sysext/install/Classes/FolderStructure/AbstractNode.php
- typo3/sysext/install/Classes/FolderStructure/DefaultFactory.php 1 addition, 0 deletions...sysext/install/Classes/FolderStructure/DefaultFactory.php
- typo3/sysext/install/Classes/FolderStructure/DirectoryNode.php 17 additions, 7 deletions.../sysext/install/Classes/FolderStructure/DirectoryNode.php
- typo3/sysext/install/Classes/FolderStructure/RootNode.php 4 additions, 0 deletionstypo3/sysext/install/Classes/FolderStructure/RootNode.php
- typo3/sysext/install/Tests/Unit/FolderStructure/AbstractNodeTest.php 52 additions, 0 deletions...t/install/Tests/Unit/FolderStructure/AbstractNodeTest.php
- typo3/sysext/install/Tests/Unit/FolderStructure/DirectoryNodeTest.php 27 additions, 0 deletions.../install/Tests/Unit/FolderStructure/DirectoryNodeTest.php
- typo3/sysext/install/Tests/Unit/FolderStructure/RootNodeTest.php 15 additions, 0 deletions...ysext/install/Tests/Unit/FolderStructure/RootNodeTest.php
Please register or sign in to comment