Skip to main content
Uncategorized

fatal: detected dubious ownership in repository at…

By February 21, 2024No Comments

For me this was an error because I had the folder ownership given to www-data:ww-data. However, for my current aws ec2 user ubuntu was not able to do a git pull.

The easiest solution for me was to login as www-data:

sudo su -s /bin/bash www-data