Run following command to take user:group ownership of all files and directories within the directory:
sudo chown -R $USER:$USER /path/to/dir
Assistance Starts here
Run following command to take user:group ownership of all files and directories within the directory:
sudo chown -R $USER:$USER /path/to/dir