Uploading to the Ghost Folder

Posted January 6, 2015 3k 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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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

by Justin Ellingwood
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 effectively use a Linux system. However, it should give you a good jumping-off point for future exploration.