1

i accidentaly ran " sudo chmod 700 /* ", is there a way to undo this..?

i have no idea what to do. I am on Ubuntu 22.04 desktop amd64

1 Answers1

2

Boot using a live session usb (the one you used to create Ubuntu), create a backup of your personal data and then reinstall without formatting any of the partitions. The backup is in case you make another mistake.

This will reset all system related files but leaves configuration files as is. The partitions need to be mounted with the same filesystem you originally installed the operating system on.

You might need to manually reset some custom files but the system itself will allow you to do that. And if that does not you will need an actual re-install with formatting

Rinzwind
  • 299,756