diff --git a/src/Symfony/Components/HttpKernel/Cache/Store.php b/src/Symfony/Components/HttpKernel/Cache/Store.php index bacd39052d..6025789304 100644 --- a/src/Symfony/Components/HttpKernel/Cache/Store.php +++ b/src/Symfony/Components/HttpKernel/Cache/Store.php @@ -40,7 +40,7 @@ class Store { $this->root = $root; if (!is_dir($this->root)) { - mkdir($this->root, 0755, true); + mkdir($this->root, 0777, true); } $this->keyCache = new \SplObjectStorage(); $this->locks = array(); @@ -313,7 +313,7 @@ class Store { $path = $this->getPath($key); if (!is_dir(dirname($path))) { - mkdir(dirname($path), 0755, true); + mkdir(dirname($path), 0777, true); } $tmpFile = tempnam(dirname($path), basename($path)); diff --git a/src/Symfony/Framework/FoundationBundle/Command/AssetsInstallCommand.php b/src/Symfony/Framework/FoundationBundle/Command/AssetsInstallCommand.php index b81d4f0fa8..cb5c93ed50 100644 --- a/src/Symfony/Framework/FoundationBundle/Command/AssetsInstallCommand.php +++ b/src/Symfony/Framework/FoundationBundle/Command/AssetsInstallCommand.php @@ -60,7 +60,7 @@ class AssetsInstallCommand extends Command $targetDir = $input->getArgument('target').'/bundles/'.preg_replace('/bundle$/', '', strtolower($bundle->getName())); $filesystem->remove($targetDir); - mkdir($targetDir, 0755, true); + mkdir($targetDir, 0777, true); $filesystem->mirror($originDir, $targetDir); } }