Hi All...
I made a big mistake this morning in Debian 11.
I went to run "freshclam" from the command line, when it failed and told me it needed permission to write to /var/lib/clamav. to check my permissions.
I went to that directory and used this command:
sudo chmod -vR 660 /
from the /var/lib/clamav directory.
Well, it started going crazy on a lot of files, I knew something was wrong and quickly gave the "CTRL-C command, then my screen went blank and I can not login anymore.
I think I broke it. Is there any HELP out there or am I just out of luck???
I have a very sick feeling about this. Any HELP would be great.
Thanks
P.S. I did not have Timeshift running.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[Solved] Debian 11 Bullseye HELP!
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
Re: Debian 11 Bullseye HELP!
When it said you need permission to write it meant that you should become root by using or
When you say that you cannot login, what exactly happens? What do you see?
Can you access a rescue mode from the Grub screen?
Code: Select all
su -
Code: Select all
sudo
Can you access a rescue mode from the Grub screen?
-
- Posts: 300
- Joined: 2015-06-07 14:38
- Has thanked: 11 times
- Been thanked: 33 times
Re: Debian 11 Bullseye HELP!
Code: Select all
sudo chmod -vR 660 /
Re: Debian 11 Bullseye HELP!
Thanks for the advice. I had a feeling it was going to be bad. It just gives me a good excuse to change Debian flavors. I never really liked that one. I was able to boot up with a "LIVE" boot and extract my HOME directory out. I will reload today. Thanks again for your kind words
."My condolences"
-
- Posts: 300
- Joined: 2015-06-07 14:38
- Has thanked: 11 times
- Been thanked: 33 times
Re: [Solved] Debian 11 Bullseye HELP!
You aren't the first and won't be the last. Many of us have done something similar. I know I have.
GNU stuff is wonderful, but it can be much less forgiving of mistakes. Price one pays for having that much more power and control of your system.
Learn from it, don't run from it
GNU stuff is wonderful, but it can be much less forgiving of mistakes. Price one pays for having that much more power and control of your system.
Learn from it, don't run from it