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!
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.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!