-
-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ghost exec
/ghost repair-permissions
commands
#317
Comments
Related: Reasoning:
Solution:
Note: PR implementation of this is in #327 |
closes TryGhost#280, closes TryGhost#268, refs TryGhost#317 - handle prompts better, don't prompt for mysql info if the user has specified sqlite - don't prompt for URL if user has provided it
refs TryGhost#317 - use sudo to run ghost as the ghost user when it's set up for the instance
refs TryGhost#317 - use sudo to run ghost as the ghost user when it's set up for the instance
refs TryGhost#317 - use sudo to run ghost as the ghost user when it's set up for the instance
refs TryGhost#317 - use sudo to run ghost as the ghost user when it's set up for the instance
refs #317 - use sudo to run ghost as the ghost user when it's set up for the instance
Our bot has automatically marked this issue as stale because there has not been any activity here in some time. The issue will be closed soon if there are no further updates, however we ask that you do not post comments to keep the issue open if you are not actively working on a PR. We keep the issue list minimal so we can keep focus on the most pressing issues. Closed issues can always be reopened if a new contributor is found. Thank you for understanding 🙂 |
Supersedes #311 , related to #307
In order to facilitate management of an installed Ghost instance with as little pain as possible, while still not messing up file/folder permissions, two new commands needed to be added to the CLI via the
linux
extension:ghost exec <cmd>
ghost exec <cmd>
will essentially work similar tosudo <cmd>
but after thesudo
command is run, all permissions will be repaired so that Ghost itself isn't affected.ghost repair-permissions
ghost repair-permissions
will go through the files in the ghost install directory, ensuring that all file permissions are correctLater:
ghost doctor
checkThe text was updated successfully, but these errors were encountered: