It seems your .bashrc is just a link to some other place
.bashrc -> /home/likewise-open/company/user/dotfiles/.bashrc.
This is not a normal attitude, so instead of using sudo or whatever you have to bring it back to its normal place.
sudo cp /home/likewise-open/company/user/dotfiles/.bashrc ~
Then now change ownership if it's not owned by you:
sudo chown your-username:your-username ~/.bashrc
Now ensure it has the correct permissions:
chmod 644 ~/.bashrc
But since you say this:
When I try to cd into dotfiles, it says directory does not exist.
This means the
/home/likewise-open/company/user/dotfiles/.bashrc file is not founded and had been deleted, so for that you get the message:
Can't open linked file for editing
This means the link is point to non existing file thus a broken link.
So you get a default bashrc file from /etc/skell
cp /etc/skel/.bashrc ~/