The uploaded file could not be moved to /var/www/wp-uploads/localhost/2011/10.
That's the error message I get when I try to upload a wordpress theme. This is my current permission status of my folder.
$ sudo ls -la /var/www/wp-uploads/localhost
total 12
drwxrwxr-- 3 root www-data 4096 2011-10-27 16:44 .
drwxr-x--- 3 root www-data 4096 2011-10-27 15:45 ..
drwxrwxr-- 3 www-data www-data 4096 2011-10-27 16:44 2011
Is there a terminal command I can use to allow wordpress to have permission to write things in this folder?
I use LAMP and Ubuntu 11.04.
Thank you.