change wp permission ubuntu
chmod 775 /var/www/wordpress
Here is what the above code is Doing:
1. Create a new directory called /var/www/wordpress
2. Change the owner of the directory to the www-data user and group
3. Change the permissions of the directory to 775