Uploading to the Ghost Folder

  • Posted on January 6, 2015
  • xRazooAsked by xRazoo

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.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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 DigitalOcean