Contribute
Register

<< Solved >> Weird root permissions issue after installing catalina

Status
Not open for further replies.
Joined
Jul 28, 2011
Messages
27
Motherboard
GA-Z68X-UD5-B3
CPU
Intel Sandybridge i7-2600 3.40Ghz
Graphics
GTX 970
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. 0
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.
 
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
 
@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!
 
Status
Not open for further replies.
Back
Top