Der Laufzeit-Pfad "/var/www/blog2/protected/runtime" der Applikation ist ungültig

Für alle die folgende Fehlermeldung bekommen.

Setzt die Rechte für den Ordner runtime auf 777. Warum ka.


/var/www/blog2/protected/runtime


Array

(

    [code] => 500

    [type] => CException

    [message] => Der Laufzeit-Pfad "/var/www/blog2/protected/runtime" der Applikation ist ungültig. Bitte stellen Sie sicher, dass der Webserver-Prozess Schreibrechte dafür besitzt.

    [file] => /var/www/yii/framework/base/CApplication.php

    [line] => 236

    [trace] => #0 /var/www/yii/framework/base/CApplication.php(224): CApplication->setRuntimePath('/var/www/blog2...')

#1 /var/www/yii/framework/logging/CFileLogRoute.php(55): CApplication->getRuntimePath()

#2 /var/www/yii/framework/logging/CLogRouter.php(65): CFileLogRoute->init()

#3 /var/www/yii/framework/base/CModule.php(353): CLogRouter->init()

#4 /var/www/yii/framework/base/CModule.php(441): CModule->getComponent('log')

#5 /var/www/yii/framework/base/CApplication.php(119): CModule->preloadComponents()

#6 /var/www/yii/framework/YiiBase.php(108): CApplication->__construct('/var/www/blog2...')

#7 /var/www/yii/framework/YiiBase.php(81): YiiBase::createApplication('CWebApplication', '/var/www/blog2...')

#8 /var/www/blog2/index.php(11): YiiBase::createWebApplication('/var/www/blog2...')

#9 {main}

    [source] => Array

        (

            [224] => 			$this->setRuntimePath($this->getBasePath().DIRECTORY_SEPARATOR.'runtime');


            [225] => 			return $this->_runtimePath;


            [226] => 		}


            [227] => 	}


            [228] => 


            [229] => 	/**


            [230] => 	 * @param string the directory that stores runtime files.


            [231] => 	 * @throws CException if the directory does not exist or is not writable


            [232] => 	 */


            [233] => 	public function setRuntimePath($path)


            [234] => 	{


            [235] => 		if(($runtimePath=realpath($path))===false || !is_dir($runtimePath) || !is_writable($runtimePath))


            [236] => 			throw new CException(Yii::t('yii','Application runtime path "{path}" is not valid. Please make sure it is a directory writable by the Web server process.',


            [237] => 				array('{path}'=>$path)));


            [238] => 		$this->_runtimePath=$runtimePath;


            [239] => 	}


            [240] => 


            [241] => 	/**


            [242] => 	 * Returns the root directory that holds all third-party extensions.


            [243] => 	 * @return string the directory that contains all extensions. Defaults to the 'extensions' directory under 'protected'.


            [244] => 	 */


            [245] => 	public function getExtensionPath()


            [246] => 	{


            [247] => 		return Yii::getPathOfAlias('ext');


            [248] => 	}


        )


)



Neben /assets braucht der Webserverprozess auch für diesen Ordner Schreibrechte.