You are not logged in.
I was experimenting with commands in terminal and I was curious what will happen after command
sudo chmod o-x /
I lost permissions to everything... I rebooted pc and after grub screen there are "failed to start" errors. Can I return permissions?
Last edited by Nadgob (2025-02-28 05:32:06)
Offline
... boot a live disk, mount the root partition, chmod it correctly again.
If you're messing around with commands that you try to understand do not apply them to a global location and most definitely do not sudo them. And maybe instead of randoming with commands read a bit of the underlying theory of what they are doing: https://wiki.archlinux.org/title/File_p … attributes
Last edited by V1del (2025-02-27 16:32:42)
Offline
Try booting to the rescue target ( https://wiki.archlinux.org/title/Systemd#Targets ), or changing init to /bin/sh ( https://wiki.archlinux.org/title/Kernel … meter_list ). If all else fails, boot a liveCD and fix it there.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Try ... changing init to /bin/sh ( https://wiki.archlinux.org/title/Kernel … meter_list ).
Thank you, this helped!
Offline