From c10cc92debaf3651b83400bec302bc17a85d339c Mon Sep 17 00:00:00 2001 From: Nina Pypchenko <22447785+nina-py@users.noreply.github.com> Date: Sun, 8 Nov 2020 06:48:11 +1100 Subject: [PATCH] Improved Permissions Error Messages for Initial Install (#2435) - Made the wording of the error more generic - Added link to the relevant section in the installation guide Resolves #2327. --- src/Install/Prerequisite/WritablePaths.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Install/Prerequisite/WritablePaths.php b/src/Install/Prerequisite/WritablePaths.php index 5dcbbf8a46..a757ea6328 100644 --- a/src/Install/Prerequisite/WritablePaths.php +++ b/src/Install/Prerequisite/WritablePaths.php @@ -53,7 +53,7 @@ private function getNonWritablePaths(): Collection })->map(function ($path, $index) { return [ 'message' => 'The '.$this->getAbsolutePath($path).' directory is not writable.', - 'detail' => 'Please chmod this directory'.(in_array($index, $this->wildcards) ? ' and its contents' : '').' to 0775.' + 'detail' => 'Please make sure your web server/PHP user has write access to this directory'.(in_array($index, $this->wildcards) ? ' and its contents' : '').'. Read the installation documentation for a detailed explanation and steps to resolve this error.' ]; }); }