You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of the Linux user configuration feature of Ghost-CLI, there can now potentially be a problem if any of the parent directories of an instance aren't readable by the system. For example, the file permissions for the /root folder on Linux are 700, which means that if Ghost is installed into the /root folder, the ghost user created by the CLI won't be able to do anything as even though it has rwx permissions on the folder within /root, the parent folder doesn't allow reading, which overrides any sub-directory permissions. (this problem is the cause of #352)
The install check already does a basic "can the current user write to this directory" check, but it should be updated for linux to go back each directory to the / directory and make sure all parent directories have at least read permissions for everyone on the system.
The text was updated successfully, but these errors were encountered:
Summary
Because of the Linux user configuration feature of Ghost-CLI, there can now potentially be a problem if any of the parent directories of an instance aren't readable by the system. For example, the file permissions for the
/root
folder on Linux are 700, which means that if Ghost is installed into the/root
folder, theghost
user created by the CLI won't be able to do anything as even though it has rwx permissions on the folder within/root
, the parent folder doesn't allow reading, which overrides any sub-directory permissions. (this problem is the cause of #352)The install check already does a basic "can the current user write to this directory" check, but it should be updated for linux to go back each directory to the
/
directory and make sure all parent directories have at least read permissions for everyone on the system.The text was updated successfully, but these errors were encountered: