I had a folder named private in one of my projects and had to change the permissions of it via chmod, however, instead of "private" I did "/private"!
I am an idiot and can't figure out how to get it back. My shell is all messed up now and I am trying to restore the /private folder via time machine and no luck! It starts but then says "Security agent may only be invoked by apple software"
I know this a HUGE mistake and any help would be appreciated. I am on el capitan