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.
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.