Hello,
I recently had a serious lapse of judgment, and typed this command in the Terminal:
sudo chmod 777 /usr
It obviously caused some serious problems. I booted into single user mode, and did this so I could use sudo again:
chmod 4111 `which sudo`
But, the rest of the usr folder is still out of whack. I launch the Terminal and instead of "Welcome to Darwin!" I get "login: setgroups: Operation not permitted"
How can I fix the permissions of the usr folder to get it back to what it should be?
Cheers,
- Chris
I recently had a serious lapse of judgment, and typed this command in the Terminal:
sudo chmod 777 /usr
It obviously caused some serious problems. I booted into single user mode, and did this so I could use sudo again:
chmod 4111 `which sudo`
But, the rest of the usr folder is still out of whack. I launch the Terminal and instead of "Welcome to Darwin!" I get "login: setgroups: Operation not permitted"
How can I fix the permissions of the usr folder to get it back to what it should be?
Cheers,
- Chris