Skip to main content
added 117 characters in body
Source Link
Lucas Cleto
  • 195
  • 2
  • 18

I was a happy guy until when, accidentally, I did this command in my Mac Os X (Yosemite 10.10.5) a few moments a go:

$ sudo chown -R my.user:staff usr/

Then, terribly, when I try to use sudo a horrible error occurs:

$ sudo su -
sudo: effective uid is not 0, is sudo installed setuid root?

Any one have any idea about how to solve these and save my life, please?

Obs: I can't open new terminals but I still have two terminals opened, one logged with my.user and other with root.

I was a happy guy until when, accidentally, I did this command in my Mac Os X (Yosemite 10.10.5) a few moments a go:

$ sudo chown -R my.user:staff usr/

Then, terribly, when I try to use sudo a horrible error occurs:

$ sudo su -
sudo: effective uid is not 0, is sudo installed setuid root?

Any one have any idea about how to solve these and save my life, please?

I was a happy guy until when, accidentally, I did this command in my Mac Os X (Yosemite 10.10.5) a few moments a go:

$ sudo chown -R my.user:staff usr/

Then, terribly, when I try to use sudo a horrible error occurs:

$ sudo su -
sudo: effective uid is not 0, is sudo installed setuid root?

Any one have any idea about how to solve these and save my life, please?

Obs: I can't open new terminals but I still have two terminals opened, one logged with my.user and other with root.

Source Link
Lucas Cleto
  • 195
  • 2
  • 18

Accidentally did chown -R my.user:staff /usr in OS X

I was a happy guy until when, accidentally, I did this command in my Mac Os X (Yosemite 10.10.5) a few moments a go:

$ sudo chown -R my.user:staff usr/

Then, terribly, when I try to use sudo a horrible error occurs:

$ sudo su -
sudo: effective uid is not 0, is sudo installed setuid root?

Any one have any idea about how to solve these and save my life, please?