Skip to content
Permalink
Browse files

Set correct permission on generated folders.

Not having world readable on generated folders makes it hard for
webservers to read the locale files.

Refs #7002
  • Loading branch information...
markstory committed Jul 13, 2015
1 parent d823fad commit faf511ea28d25901aed964dfa37caac65c82d458
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Shell/I18nShell.php
@@ -92,7 +92,7 @@ public function init($language = null)
$sourceFolder = rtrim($response, DS) . DS;
$targetFolder = $sourceFolder . $language . DS;
if (!is_dir($targetFolder)) {
mkdir($targetFolder, 0770, true);
mkdir($targetFolder, 0775, true);
}
$count = 0;

0 comments on commit faf511e

Please sign in to comment.
You can’t perform that action at this time.