Hello everyone, I’m having problems editing files in my droplet using Fetch, everything was working fine before until today… I’m basically trying to edit my style sheet but it’s not letting me edit it because i apparently don’t have the required permissions. I am able to access and view all my files and copy them to my desktop via Fetch using my SSH key, however i’m unable to delete or edit anything. When i look at the info of the folders, under ownership and permissions it displays that my current user can Read, Write, and Execute. Group: www-data same thing Read, Write, and Execute. Others : Read and Execute.
Any help is appreciated! Thanks.
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!
This question was answered by @EduardoMartinezDesign:
Okay i think i may have fixed my problem… Ran this… sudo chown myuser:www-data /var/www/html/wp-content changed priviledges sudo chown www-data:myuser /var/www/html/wp-content Then… sudo service ssh restart
I feel like I’ve done this before but for some reason it wasn’t working until i ran that in the terminal again, now i’m able to edit and delete files without a window popping up about not having permission.
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.