/**
  * Creates a new subdirectory
  *
  * @param  string  $name  name of the new subdirectory
  * @throws Sabre\DAV\Exception\Forbidden
  * @return Tinebase_Model_Container
  */
 public function createDirectory($name)
 {
     $container = parent::createDirectory($name);
     $path = '/' . $this->_getApplication()->getId() . '/folders/' . $container->type . '/';
     if ($container->type == Tinebase_Model_Container::TYPE_PERSONAL) {
         $path .= Tinebase_Core::getUser()->accountId . '/';
     }
     $path .= $container->getId();
     if (Tinebase_Core::isLogLevel(Zend_Log::DEBUG)) {
         Tinebase_Core::getLogger()->debug(__METHOD__ . '::' . __LINE__ . ' create directory: ' . $path);
     }
     Tinebase_FileSystem::getInstance()->mkdir($path);
 }