diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index a468ef6976..9b6e9581f1 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -53,6 +53,7 @@
- Changelog
+ - Changes since 3.0.4
- Changes since 3.0.3
- Changes since 3.0.2
- Changes since 3.0.1
@@ -83,7 +84,13 @@
-
1.i. Changes since 3.0.3
+
1.i. Changes since 3.0.4
+
+
+ - [Fix] Missing read permission from calls to phpbb_chmod()
+
+
+
1.ii. Changes since 3.0.3
- [Fix] Allow mixed-case template directories to be inherited (Bug #36725)
@@ -115,7 +122,7 @@
- [Sec] Ask for forum password if post within passworded forum quoted in private message. (Reported by nickvergessen)
-
1.ii. Changes since 3.0.2
+
1.iii. Changes since 3.0.2
- [Fix] Correctly set topic starter if first post in topic removed (Bug #30575 - Patch by blueray2048)
@@ -214,7 +221,7 @@
- [Sec Precaution] Stricter validation of the HTTP_HOST header (Thanks to Techie-Micheal et al for pointing out possible issues in derived code)
-
1.iii. Changes since 3.0.1
+
1.iv. Changes since 3.0.1
- [Fix] Ability to set permissions on non-mysql dbms (Bug #24955)
@@ -262,7 +269,7 @@
- [Sec] Only allow urls gone through redirect() being used within login_box(). (thanks nookieman)
-
1.iv. Changes since 3.0.0
+
1.v. Changes since 3.0.0
- [Change] Validate birthdays (Bug #15004)
@@ -333,7 +340,7 @@
- [Fix] Find and display colliding usernames correctly when converting from one database to another (Bug #23925)
-
1.v. Changes since 3.0.RC8
+
1.vi. Changes since 3.0.RC8
- [Fix] Cleaned usernames contain only single spaces, so "a_name" and "a__name" are treated as the same name (Bug #15634)
@@ -342,7 +349,7 @@
- [Fix] Call garbage_collection() within database updater to correctly close connections (affects Oracle for example)
-
1.vi. Changes since 3.0.RC7
+
1.vii. Changes since 3.0.RC7
- [Fix] Fixed MSSQL related bug in the update system
@@ -377,7 +384,7 @@
- [Fix] No duplication of active topics (Bug #15474)
-
1.vii. Changes since 3.0.RC6
+
1.viii. Changes since 3.0.RC6
- [Fix] Submitting language changes using acp_language (Bug #14736)
@@ -387,7 +394,7 @@
- [Fix] Able to request new password (Bug #14743)
-
1.viii. Changes since 3.0.RC5
+
1.ix. Changes since 3.0.RC5
- [Feature] Removing constant PHPBB_EMBEDDED in favor of using an exit_handler(); the constant was meant to achive this more or less.
@@ -450,7 +457,7 @@
- [Sec] New password hashing mechanism for storing passwords (#i42)
-
1.ix. Changes since 3.0.RC4
+
1.x. Changes since 3.0.RC4
- [Fix] MySQL, PostgreSQL and SQLite related database fixes (Bug #13862)
@@ -501,7 +508,7 @@
- [Fix] odbc_autocommit causing existing result sets to be dropped (Bug #14182)
-
1.x. Changes since 3.0.RC3
+
1.xi. Changes since 3.0.RC3
- [Fix] Fixing some subsilver2 and prosilver style issues
@@ -610,7 +617,7 @@
-
1.xi. Changes since 3.0.RC2
+
1.xii. Changes since 3.0.RC2
- [Fix] Re-allow searching within the memberlist
@@ -656,7 +663,7 @@
-
1.xii. Changes since 3.0.RC1
+
1.xiii. Changes since 3.0.RC1
- [Fix] (X)HTML issues within the templates (Bug #11255, #11255)
diff --git a/phpBB/includes/acm/acm_file.php b/phpBB/includes/acm/acm_file.php
index f58f925506..d0cb9bd4a7 100644
--- a/phpBB/includes/acm/acm_file.php
+++ b/phpBB/includes/acm/acm_file.php
@@ -99,7 +99,7 @@ class acm
include($phpbb_root_path . 'includes/functions.' . $phpEx);
}
- phpbb_chmod($this->cache_dir . 'data_global.' . $phpEx, CHMOD_WRITE);
+ phpbb_chmod($this->cache_dir . 'data_global.' . $phpEx, CHMOD_READ | CHMOD_WRITE);
}
else
{
@@ -209,7 +209,7 @@ class acm
include($phpbb_root_path . 'includes/functions.' . $phpEx);
}
- phpbb_chmod($this->cache_dir . "data{$var_name}.$phpEx", CHMOD_WRITE);
+ phpbb_chmod($this->cache_dir . "data{$var_name}.$phpEx", CHMOD_READ | CHMOD_WRITE);
}
}
else
@@ -434,7 +434,7 @@ class acm
include($phpbb_root_path . 'includes/functions.' . $phpEx);
}
- phpbb_chmod($filename, CHMOD_WRITE);
+ phpbb_chmod($filename, CHMOD_READ | CHMOD_WRITE);
$query_result = $query_id;
}
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index cbec2582a9..17c59e5274 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -708,7 +708,7 @@ class queue
@flock($fp, LOCK_UN);
fclose($fp);
- phpbb_chmod($this->cache_file, CHMOD_WRITE);
+ phpbb_chmod($this->cache_file, CHMOD_READ | CHMOD_WRITE);
}
}
@@ -749,7 +749,7 @@ class queue
@flock($fp, LOCK_UN);
fclose($fp);
- phpbb_chmod($this->cache_file, CHMOD_WRITE);
+ phpbb_chmod($this->cache_file, CHMOD_READ | CHMOD_WRITE);
}
}
}
diff --git a/phpBB/includes/functions_template.php b/phpBB/includes/functions_template.php
index 15efc7ec00..9f137d9151 100644
--- a/phpBB/includes/functions_template.php
+++ b/phpBB/includes/functions_template.php
@@ -755,7 +755,7 @@ class template_compile
@flock($fp, LOCK_UN);
@fclose($fp);
- phpbb_chmod($filename, CHMOD_WRITE);
+ phpbb_chmod($filename, CHMOD_READ | CHMOD_WRITE);
}
return;