Uploading to the Ghost Folder

January 6, 2015 1.6k views

I used the One-Click App Install of Ghost and I was going to edit config.js with Notepad++ using NppFTP. I have already setup Ubuntu to not allow root login, setup a new user, as well as a SSH key.

When I use this new user to SFTP (Notepad++ or FileZilla) I cannot upload to the ghost folder. I assume this is because the ghost folder is owned by the ghost user, but how do I go about allowing my new user to upload files to the ghost folder?
Can I chown the ghost folder or would that mess with the application? I assume I don't want to add write permissions to the group rather than just a user, but I'm not seeing a way around this.

Any help would be greatly appreciated.

1 Answer

Hey there,

Truthfully, it may be best to edit the file directly with a text editor on the Droplet. Using vi or nano will ensure that no odd characters are added and that the file is kept as plain text. This tutorial reviews editing files on a Linux system.

Happy coding,

Jon Schwenn
Platform Support Specialist

If you are new to working with Linux systems, you may be overwhelmed by the prospect of controlling an operating system from the command line. In this guide, we will attempt to get you up to speed with the basics. This guide will not cover everything you need to know to...
Have another answer? Share your knowledge.