‪TYPO3CMS  11.5
TYPO3\CMS\Install\FolderStructure\DefaultPermissionsCheck Class Reference

Public Member Functions

FlashMessage getMaskStatus ($which)

Protected Attributes

array $names

Detailed Description

Service class to check the default folder permissions

This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.

Definition at line 25 of file DefaultPermissionsCheck.php.

Member Function Documentation

◆ getMaskStatus()

FlashMessage TYPO3\CMS\Install\FolderStructure\DefaultPermissionsCheck::getMaskStatus (   $which)

Checks a BE/*mask setting for it's security

If it permits world writing: Error If it permits world reading: Warning If it permits group writing: Notice If it permits group reading: Notice If it permits only user read/write: Ok

string$which‪fileCreateMask or folderCreateMask

Definition at line 58 of file DefaultPermissionsCheck.php.

References $GLOBALS, TYPO3\CMS\Core\Messaging\AbstractMessage\ERROR, TYPO3\CMS\Core\Messaging\AbstractMessage\INFO, TYPO3\CMS\Core\Core\Environment\isWindows(), TYPO3\CMS\Core\Messaging\AbstractMessage\NOTICE, and TYPO3\CMS\Core\Messaging\AbstractMessage\OK.

Member Data Documentation

◆ $names

array TYPO3\CMS\Install\FolderStructure\DefaultPermissionsCheck::$names
Initial value:
= array(
'fileCreateMask' => 'Default File permissions',
'folderCreateMask' => 'Default Directory permissions',

Verbose names of the settings

Definition at line 41 of file DefaultPermissionsCheck.php.

◆ $recommended

Initial value:
= array(
'fileCreateMask' => '0660',
'folderCreateMask' => '2770',

Definition at line 34 of file DefaultPermissionsCheck.php.