The first response from BDAqua worked for me. I was a little iffy about typing commands, but it worked and wasn't as scary as I thought it'd be. Thanks for posting!
Start up holding Command+S
Let the code finish loading on it's own. It might hang for a second on certain lines before it completely stops loading so you can type.
mount -uw / (Press 'return')
chown root / (Press 'return')
chmod 1775 / (Press 'return')
exit (Press 'return')
System will reboot on it's own. If this was done correctly you should come to the login screen and your system will function like normal again. Another post mentioned to copy and paste these commands onto a doc so you can see where to add necessary spaces between characters. That was a good suggestion also.