Hello,
My system is a 2020 M1 Macbook Air running MacOS 15 Beta 7
Without going into too much details, I ran "sudo chown -R user1 /" and allowed it to run through-- some files and folders didnt get affected due to permissions but for the files that got their permissions changed--I cant do basic things when logged in as user2 or the root user.
For example: sudo command with anything as the shell would hang, or another thing is the system would get stuck at almost half way into verifying whatever .dmg or .pkg I would be trying to install. A Get Info look at /usr/bin/sudo shows that the admin and everyone groups have no access so I think thats why I couldnt use sudo.
What options besides booting into recovery to reinstall do I have to remedy this? Because due to a faulty power button, the Macbook shuts down 5 seconds into the 10 required holding the button in order to get the startup options screen.
Is there any way I can repair the permissions? I have a Time Machine backup from a date before when I ran this command if restoring is the only thing that will work. Also worth mentioning is that I have Tinkertool System, Onyx, and CleanMyMac installed just incase I would need a 3rd party tool to fix this.
Cheers,
For help with these matters, please post in the Apple Support Community. The Apple Developer Forums are for questions about APIs and features intended specifically for developers.