You can fix this by changing the ownership of the directory to your user.
Try running the following command in your terminal:
sudo chown -R $USER:$USER .
This command recursively changes the owner and group of the current directory (.) to your current user ($USER).