I am trying to install ghost from ghost-cli on a Ubuntu VPS.
note that /var/www/ghost belong to user and have the correct permissions.
user@s3:/var/www/ghost$ ghost install
✖ Checking system Node.js version - found v22.21.1
One or more errors occurred.
1.SystemError
Message: The directory /home/user/ is not readable by other users on the system.
This can cause issues with the CLI, you must either make this directory readable by others or install node and Ghost-CLI in another location.
What is strange here is that /var/www/ghost is where I run the install script, but it then complains that /home/user/ is not available to other users.
I don’t think user homes should be accessible by other users.
I feel like the install script uses the users $HOME somewhere instead of the current path. Did anyone experience that?