By theol
Hi
I’ve set up my droplet (Ubuntu 16.04.04 x64 + LEMP) and installed Wordpress following the DigitalOcean tutorials but I have an issue with modifying files via FTP/SFTP.
I use SublimeText, but I’ve also tested it with Filezilla and both seem to behave the same way, so it looks like a server setting.
I have a sudo user called ‘sam’ for admin I have a normal user who I chown the files to called ‘www-john’
What happens
I log in using my sudo user (SSH key is loaded into Pageant) and I can log connect to the server successfully.
I can browse pretty the whole directory and I can download any file.
However, I cannot seem to upload.
When I do, I get an error message
What I’ve tried so far
Any advice on how I can download and upload via FTP please?
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!
Hello, @theol
I had a similar issue when using Sublime text and sshfs in order to directly change the code of any of my files and the issue was caused from the fact that I’ve needed to open Sublime Text via sudo each time, or I will get the failure (Permission denied) error as well.
Did you checked the permissions of the folders you’re trying to access and upload files to?
Regards, Alex
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.