I have a massive GIT project with several GIT submodules inside. I recursively changed ownership(chown -r) from root to my user for each file in my project.
Now any git command takes a lot of time to complete and seems to use 99% CPU. What is the issue?
I did sudo chown -R my_user my_project/
UPDATE
This seems not to be only GIT related, other terminal commands take a lot of time too. top shows me 100% git usage for like 15 seconds instead of usual 0-1 seconds.