By newbie
hi, somehow i delete a folder & all its files from filezilla. now i cant upload any files to that folder using non root user. it always says
Error: /wp-includes/js/zxcvbn.min.js: open for write: permission denied Error: File transfer failed
but when i login using root user, all files of that folder is there. how can i give root permission to that user so that it can write/change anything through filezilla just like root user.
i just checked the folder permission by “ls -l” and it was like this
-rw-r–r-- 1 www-data www-data 324 Jan 30 16:38 zxcvbn-async.min.js -rw-r–r-- 1 www-data www-data 698775 Jan 30 16:38 zxcvbn.min.js
any idea how can i make my non-root user to upload files there?
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!
I am having the same problem and can’t find a fix.
I have a sudo user and when I login with that user to my sftp, I can’t upload or write any file.
See if this tutorial answers your question: https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04
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.