#Open terminal by pressing ctrl + T. Use the following code.

sudo usermod -a -G www-data dante

# check the user called “dante” and it’s group.
id dante
groups dante