Issue Bug Resolved

#96824FolderStructure DefaultFactor doesn't repect configured group

Markus Goldbach 02/11/22, 09:11 updated 11/09/26, 20:25

Description

If you create the default file and folder structure for the var-Folder via command bin/typo3cms install:fixfolderstructure the DefaultFactory (\TYPO3\CMS\Install\FolderStructure\DefaultFactory) doesn’t respect the configuiered createGroup.
So the files and folders has the default group of the current user.

I looked inside the Directory and FileNode class and instead of using the methods from GeneralUtility the classes use plain PHP function to create the items.

I think the command should respect the createGroup Option, otherwise an installation can be broken after run this command, if the current user has not the webserver group as default group or is the webserver user.

I added two patches for the “typo3/cms-install” Package which fix the issue by using the functions from GeneralUtility.

Reviews 2

Files 2

History 216

  1. Georg Ringer commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-11-09T20:25:11+00:00" > 11/09/26, 20:25 </span>

    Applied in changeset commit:8826b5e332a9f9525049126b7e4852176b8d04fd.