Set umask to 0 when creating site theme.

git-svn-id: http://svn.automattic.com/wordpress/trunk@2242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2005-02-08 07:50:24 +00:00
parent 300476b51c
commit 1da65af1e1
1 changed files with 1 additions and 0 deletions

View File

@ -636,6 +636,7 @@ function make_site_theme() {
return false;
}
umask(0);
if (! mkdir($site_dir, 0777)) {
return false;
}