On my team I want everybody to own the code collectively. If something is broken and you know how to fix it, then just fix it. Take responsibility for the code as a collective. If somebody fixes your code, say thanks. Don't get protective and defensive. It's not your code - it's the team's code. It's good mantra to have!