TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Install\FolderStructure\DefaultPermissionsCheck Class Reference

Public Member Functions

 getMaskStatus ($which)
 

Protected Attributes

 $recommended
 
 $names
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Service class to check the default folder permissions

Definition at line 21 of file DefaultPermissionsCheck.php.

Member Function Documentation

◆ getMaskStatus()

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

Parameters
string$whichfileCreateMask or folderCreateMask
Returns

Definition at line 55 of file DefaultPermissionsCheck.php.

References $GLOBALS.

Member Data Documentation

◆ $names

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

Definition at line 38 of file DefaultPermissionsCheck.php.

◆ $recommended

TYPO3\CMS\Install\FolderStructure\DefaultPermissionsCheck::$recommended
protected
Initial value:
= array(
'fileCreateMask' => '0660',
'folderCreateMask' => '2770',
)

Definition at line 30 of file DefaultPermissionsCheck.php.