I hope you have a solution for that: I wanted to remove permissions to a specific folder with:
sudo chmod -rwx ./
But instead I had executed:
sudo chmod -rwx /
so I had removed all permissions to the root directory instead of the current folder.
Now I don't have access to any command, including sudo
. I am on a rpi 4 running on Raspberry PI OS (Raspbian). I have a lot of important things, a pro website with a database. I have one or two backups of one database but not the others... I have a few importants programs without backups.
The OS does not boot actually.
Thank you if you can help me!
chmod -R
, then restoring from backup would make more sense..
instead of./
- it's shorter to type and harder to make a problematic typo that way.