Set all the permissions for an user in Ubuntu Server code example Example: chmode ubuntu sudo chmod -R 777 /var/www