I am having problems uploading a file into mu wordpress site
Receiving this error: Before you can upload your import file, you will need to fix the following error: Unable to create directory uploads/2015/03. Is its parent directory writable by the server? ls -l /uploads drwxrwsrwx 12 www-data www-pub 4096 Mar 18 11:51 uploads
root@ibaai:/var/www/wp-content/uploads/2015# ls -l total 4 drwxrwsrwx 2 www-data www-data 4096 Mar 18 11:56 03
my process shows that www-data runs apache /var/www/wp-content# ps aux | egrep apache www-data 1829 0.0 10.6 330832 53616 ? S 11:48 0:01 /usr/sbin/apache2 -k start
▽ www-data 1939 0.0 10.3 330552 51896 ? S 11:50 0:01 /usr/sbin/apache2 -k start
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 @winston770420:
The problem was not in the user rights but in the wordpress settings This was solved by adjusting the path in setting ->tools -> media
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.