#52668Install Tool: Remove permission checking and fixing code from "folder structure"
Description
We’ve got several complaints and issues with the new “folder permission” checking and fixing – In the Install Tool “Step Installer” and later in the “Folder Structure” menu entry.
So we decided to simply remove this functionality from the install tool for now, and leave the responsability of a “secure” and “working” environment with the administrator / hosting provider. There are just too many constelations and exceptional conditions to consider here.
Default permissions (for new folders / files) should be:
Folders: 2775
Files: 0664
In the “Folder Structure” checking section a warning could be displayed if these are the active settings, pointing to a Wiki page describing different methods on how to “secure your installation”. The wiki page could be collaborative effort documenting the best practice setup for different PHP vs Webservers vs OS variants.
Streamline what is considered an “Error”, “Warning” and Notice”:
Errors are:- Default permissions allowing world (other) writing (o+w)
- Directories that do not exist
- Directories that are not writeable (no files can be created within)
- Paths that are files but should be directories
- Paths that are not files but should be files
- Symlinks that should be present but do not exist
- Default permissions allowing world (other) reading (o+r)
- Symlink that is not a symlink (i.e. typo3_src)
- Files that should be present but do not exist
- Default permissions allowing group (other) r/w (g+rw)
- Files that cannot be written (index.html, .htaccess)
- Files which not match the configured default permission
- Files that do not contain what we expect