use TYPO3\CMS\Core\Utility\GeneralUtility; // Fix file permissions $path = __DIR__; // The path to the TYPO3 installation $force = false; // Whether to force the fix or not $verbose = true; // Whether to output verbose messages or not GeneralUtility::fixPermissions($path, $force, $verbose);In this example, the fixPermissions method is called with the $path parameter set to the directory where the TYPO3 installation is located. The $force parameter is set to false, which means that the method will only fix permissions if necessary. The $verbose parameter is set to true, which means that the method will output verbose messages. The fixPermissions method is part of the TYPO3 CMS core and is located in the TYPO3\CMS\Core\Utility\GeneralUtility class.