Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
11
rated 0 times [  11] [ 0]  / answers: 1 / hits: 11291  / 2 Years ago, mon, may 23, 2022, 1:58:10

I stupidly ran sudo chown -R carlos:carlos / and carlos is my user. This changed all files to be Carlos and I could not boot up again (because the root files were now owned by #1000) and I cant get sudo acess in live cd (because the owner of /usr was changed to my user). Can anyone help me? FYI I have mounted my hard drive.


More From » sudo

 Answers
1

You could spend a bunch of time trying to repair this, your best bet is to just reinstall over your existing installation and doublechecking that you don't format the partition.



You'll lose the packages you have installed and have to reinstall them, but it's much less work than reconstructing the permissions on your system.


[#40115] Tuesday, May 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rhaeams

Total Points: 115
Total Questions: 111
Total Answers: 103

Location: Burundi
Member since Wed, Nov 25, 2020
4 Years ago
rhaeams questions
;