@oriond@lemmy.ml to Asklemmy@lemmy.ml • 6 months agoWhat is the most destroying command you can type in the Linux terminal?message-square127fedilinkarrow-up1158
arrow-up1158message-squareWhat is the most destroying command you can type in the Linux terminal?@oriond@lemmy.ml to Asklemmy@lemmy.ml • 6 months agomessage-square127fedilink
minus-square@utopianfiat@lemmy.worldlinkfedilinkEnglish14•6 months agoI imagine if you can mount from a busybox possibly
minus-square@grabyourmotherskeys@lemmy.worldlinkfedilink8•6 months agoThen figure out the correct perms.
minus-square@CalicoJack@lemmy.dbzer0.comlinkfedilink13•6 months agoEh, just hit it with the 777 and pray. Then swear at it some more.
minus-square@LrdThndr@lemmy.worldcakelinkfedilink4•6 months agoBoot from a usb stick, mount the fs, use the live environment’s chmod command to fix stuff.
minus-square@nixcamic@lemmy.worldlinkfedilink4•6 months agoI think you’ll need to change passwd and shadow, maybe a few other files, but besides that it’ll mostly work.
minus-square@grabyourmotherskeys@lemmy.worldlinkfedilink2•6 months agoThis is the traditional method.
minus-square@utopianfiat@lemmy.worldlinkfedilinkEnglish4•6 months agoYeah that’s the painful part. A backup would be key here
minus-square@fossphi@lemm.eelinkfedilinkEnglish1•6 months agochroot in and then syncing the permissions from something like the equivalent of filesystem package in Arch for your distro should get you going
Can you recover from that?
I imagine if you can mount from a busybox possibly
Then figure out the correct perms.
Eh, just hit it with the 777 and pray. Then swear at it some more.
deleted by creator
Boot from a usb stick, mount the fs, use the live environment’s chmod command to fix stuff.
I think you’ll need to change passwd and shadow, maybe a few other files, but besides that it’ll mostly work.
This is the traditional method.
Yeah that’s the painful part. A backup would be key here
chroot
in and then syncing the permissions from something like the equivalent offilesystem
package in Arch for your distro should get you going