From 1da65af1e170183ed21c1532e22798bf4af20993 Mon Sep 17 00:00:00 2001 From: rboren Date: Tue, 8 Feb 2005 07:50:24 +0000 Subject: [PATCH] Set umask to 0 when creating site theme. git-svn-id: http://svn.automattic.com/wordpress/trunk@2242 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/upgrade-functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/upgrade-functions.php b/wp-admin/upgrade-functions.php index 26fe29c53b..960b0f54b8 100644 --- a/wp-admin/upgrade-functions.php +++ b/wp-admin/upgrade-functions.php @@ -636,6 +636,7 @@ function make_site_theme() { return false; } + umask(0); if (! mkdir($site_dir, 0777)) { return false; }