So recently I had migrated my site to amazon Vps and getting too many permissions errors.I have already changed all folder permissions to > 755 and all file to > 644.Also, given chown of wp-upload to www-data.But I still can't upload files to WP site, and also plugins too, showing permission error (can't make dir).What I have done wrong here?UPDATE: ls -lZ  for wp-content-rw-r--r--  1 www-data www-data ?  596 Mar 30 05:36 advanced-cache.phpdrwxr-xr-x 10 www-data www-data ? 4096 Mar 28 21:11 cache-rw-r--r--  1 www-data www-data ? 1399 Mar 28 21:10 db.php-rw-r--r--  1 www-data www-data ?   28 Jan  8  2012 index.php-rw-r--r--  1 www-data www-data ? 4517 Mar 28 21:10 object-cache.phpdrwxr-xr-x 45 www-data www-data ? 4096 Apr  3 13:48 pluginsdrwxr-xr-x  7 www-data www-data ? 4096 Apr  3 13:48 themesdrwxr-xr-x  2 www-data www-data ? 4096 Mar 28 21:53 updraftdrwxr-xr-x  2 www-data www-data ? 4096 Mar 28 23:00 upgradedrwxr-xr-x 10 www-data www-data ? 4096 Dec 31 18:31 uploadsdrwxr-xr-x  2 www-data www-data ? 4096 Mar 28 22:33 w3tc-configdrwxr-xr-x  2 www-data www-data ? 4096 Mar 30 05:36 wp-rocket-config
Permissions error with wordpress
ubuntu;permissions;wordpress
Give www-data -group read/write/execute rights to wp-content and all subdirectories.Eg:chmod -R 775 wp-content