ForkCMS\Bundle\InstallerBundle\Service\RequirementsChecker::checkFilePermissions PHP Метод

checkFilePermissions() защищенный Метод

Make sure the filesystem is prepared for the installation and everything can be read/ written correctly.
protected checkFilePermissions ( )
    protected function checkFilePermissions()
    {
        $this->checkRequirement('fileSystemBackendCache', $this->isRecursivelyWritable($this->rootDir . 'src/Backend/Cache/'), self::STATUS_ERROR);
        $this->checkRequirement('fileSystemBackendModules', $this->isWritable($this->rootDir . 'src/Backend/Modules/'), self::STATUS_WARNING);
        $this->checkRequirement('fileSystemFrontendCache', $this->isRecursivelyWritable($this->rootDir . 'src/Frontend/Cache/'), self::STATUS_ERROR);
        $this->checkRequirement('fileSystemFrontendFiles', $this->isRecursivelyWritable($this->rootDir . 'src/Frontend/Files/'), self::STATUS_ERROR);
        $this->checkRequirement('fileSystemFrontendModules', $this->isWritable($this->rootDir . 'src/Frontend/Modules/'), self::STATUS_WARNING);
        $this->checkRequirement('fileSystemFrontendThemes', $this->isWritable($this->rootDir . 'src/Frontend/Themes/'), self::STATUS_WARNING);
        $this->checkRequirement('fileSystemLibrary', $this->isWritable($this->libraryDir), self::STATUS_ERROR);
        $this->checkRequirement('fileSystemLibraryExternal', $this->isWritable($this->libraryDir . 'external'), self::STATUS_WARNING);
        $this->checkRequirement('fileSystemAppCache', $this->isRecursivelyWritable($this->rootDir . 'app/cache/'), self::STATUS_ERROR);
        $this->checkRequirement('fileSystemAppLogs', $this->isRecursivelyWritable($this->rootDir . 'app/logs/'), self::STATUS_ERROR);
        $this->checkRequirement('fileSystemAppConfig', $this->isWritable($this->rootDir . 'app/config/'), self::STATUS_ERROR);
    }