Contribute
Register

Solved > Weird root permissions issue after installing catalina

Joined
Jul 28, 2011
Messages
30
Motherboard
GA-Z68X-UD5-B3
CPU
Intel Sandybridge i7-2600 3.40Ghz
Graphics
GTX 970
Mac
Classic Mac
Mobile Phone
Hi there,
Just discovered I can't run sudo from terminal after installing catalina, I get the following message:

"sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set"

Has anyone encountered this before or know how to fix it?

thanks.

Sam.
 

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
3,853
Motherboard
ASRock-Z97 EX6
CPU
i7-4790K OC @ 4.8GHz
Graphics
Vega 64LC + HD4600
Mac
  1. MacBook Air
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Just discovered I can't run sudo from terminal after installing catalina, I get the following message.....


@smintel,

You most likely need to disable gate keeper and mount the system drive as read/write.
Execute the following commands first :-

Code:
sudo spctl --master-disable
sudo mount -uw
sudo killall Finder


Then try what ever you where doing again ...
Gate keeper will be re-enabled and the system drive re-flagged as read only on the next reboot.

Cheers
Jay
 
Joined
Jul 28, 2011
Messages
30
Motherboard
GA-Z68X-UD5-B3
CPU
Intel Sandybridge i7-2600 3.40Ghz
Graphics
GTX 970
Mac
Classic Mac
Mobile Phone
@smintel,

You most likely need to disable gate keeper and mount the system drive as read/write.
Execute the following commands first :-

Code:
sudo spctl --master-disable
sudo mount -uw
sudo killall Finder


Then try what ever you where doing again ...
Gate keeper will be re-enabled and the system drive re-flagged as read only on the next reboot.

Cheers
Jay

But the problem is sudo is failing - so I can't actually run those commands!
 
Top