diff options
authorAlex Pott2018-09-27 15:01:04 (GMT)
committerAlex Pott2018-09-27 15:01:12 (GMT)
commit06df3f43577d151635fc7e9f2b9717248427141b (patch)
parentfaf551f8820d7b0f7dbb38b680b8bded4a72db00 (diff)
Issue #2867042 by jgrunert, jhodgdon, rakesh.gectcr, dawehner, jazzdrive3, alexpott, Loparev: Running any tests which extended from BrowserTestBase getting permission denied
(cherry picked from commit 8500f748a97c1592e5ddbae6eb96213c06756074)
1 files changed, 5 insertions, 0 deletions
diff --git a/core/tests/ b/core/tests/
index 7672d71..0ea2efc 100644
--- a/core/tests/
+++ b/core/tests/
@@ -13,6 +13,11 @@ Note: functional tests have to be invoked with a user in the same group as the
web server user. You can either configure Apache (or nginx) to run as your own
system user or run tests as a privileged user instead.
+Invoking tests with a user that is in the same group as the web server will
+require you to ensure Drupal keeps gid stickybits when creating new directories.
+`$settings['file_chmod_directory'] = 02775;`
To develop locally, a straightforward - but also less secure - approach is to
run tests as your own system user. To achieve that, change the default Apache
user to run as your system user. Typically, you'd need to modify