Music Banter - View Single Post - The Official Computer Tech Support Thread
View Single Post
Old 03-18-2023, 05:07 PM   #2394 (permalink)
innerspaceboy
Music Addict
 
innerspaceboy's Avatar
 
Join Date: Feb 2015
Location: The Organized Mind
Posts: 2,044
Default

I mistakenly ran:

sudo chmod 777 -R /*

on an Ubuntu 20.04.5 LTS filesystem. I was trying to take ownership of 73 album folders I downloaded from The Internet Archive in one media folder but due to mistaken syntax I evidently took ownership of all system files to the main user account instead of root.

Now none of my appimages will launch because they aren't owned by root. They all return this error:

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

I Googled solutions and found:

$ su -
Password:
# chown root:root /usr/bin/sudo
# chmod a=rx,u+ws /usr/bin/sudo


But both null and the main user passwords are rejected for root.

Then I Googled "su authentication failure" which is the error I get when I type "su -" and try null for the password.

I found this explanation:

su asks for the root password. Since Ubuntu doesn't set a root password by default, you can't use it to become root.

Instead, to become root, use sudo -i with your personal password.


I tried that and I get the same error that all the appimages are throwing:

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

Most search results indicate that this is a case of major system corruption and a nuclear reinstallation of the OS is the only option.

I have a Timeshift disk snapshot of the OS from a few years ago I'm going to try to restore, but I'll have to wait until March 27 when I'll have the day free to attack the project.

Damn.

__________________
Quote:
Originally Posted by Chula Vista View Post
You are quite simply one of the most unique individuals I've ever met in my 680+ months living on this orb.
Quote:
Originally Posted by Trollheart View Post
You are to all of us what Betelgeuse is to the sun in terms of musical diversity.
Quote:
Originally Posted by Exo_ View Post
You sir are a true character. I love it.
Quote:
Originally Posted by The Batlord View Post
You, sir, are a nerd's nerd.
Quote:
Originally Posted by Marie Monday View Post
Just chiming in to declare that your posts are a source of life and wholesomeness
The Innerspace Connection | Essential Recordings | Top Archives | Hot 100 Albums | Top 550 Artists
innerspaceboy is offline   Reply With Quote