Commit 09da7b1 1 parent 4048da0 commit 09da7b1 Copy full SHA for 09da7b1
File tree 1 file changed +3
-2
lines changed
lib/commands/doctor/checks
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
const fs = require ( 'fs-extra' ) ;
3
3
const constants = require ( 'constants' ) ;
4
+ const chalk = require ( 'chalk' ) ;
4
5
5
6
const errors = require ( '../../../errors' ) ;
6
7
const checkDirectoryAndAbove = require ( './check-directory' ) ;
@@ -10,8 +11,8 @@ const taskTitle = 'Checking current folder permissions';
10
11
function installFolderPermissions ( ctx ) {
11
12
return fs . access ( process . cwd ( ) , constants . R_OK | constants . W_OK ) . catch ( ( ) => {
12
13
return Promise . reject ( new errors . SystemError ( {
13
- message : ` The current directory is not writable.
14
- Please fix your directory permissions. `,
14
+ message : ' The current directory is not writable. Please fix the permissions of your install directory.' ,
15
+ help : ` ${ chalk . green ( 'https://docs.ghost.org/docs/install#section-your-user-must-own-this-directory' ) } `,
15
16
task : taskTitle
16
17
} ) ) ;
17
18
} ) . then ( ( ) => {
You can’t perform that action at this time.
0 commit comments