@oriond@lemmy.ml to Asklemmy@lemmy.ml • 1 year agoWhat is the most destroying command you can type in the Linux terminal?message-square142fedilinkarrow-up1164arrow-down19
arrow-up1155arrow-down1message-squareWhat is the most destroying command you can type in the Linux terminal?@oriond@lemmy.ml to Asklemmy@lemmy.ml • 1 year agomessage-square142fedilink
minus-square@grabyourmotherskeys@lemmy.worldlinkfedilink8•1 year agoThen figure out the correct perms.
minus-square@CalicoJack@lemmy.dbzer0.comlinkfedilink13•1 year agoEh, just hit it with the 777 and pray. Then swear at it some more.
minus-square@LrdThndr@lemmy.worldlinkfedilink4•1 year agoBoot from a usb stick, mount the fs, use the live environment’s chmod command to fix stuff.
minus-square@nixcamic@lemmy.worldlinkfedilink4•1 year agoI think you’ll need to change passwd and shadow, maybe a few other files, but besides that it’ll mostly work.
minus-square@utopianfiat@lemmy.worldlinkfedilinkEnglish4•1 year agoYeah that’s the painful part. A backup would be key here
minus-square@intensely_human@lemm.eelinkfedilink1•1 year agoWorst case you boot up a virtual server with the same OS as your own and just go down the tree learning permissions, and it’s a deep dive learning experience.
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
Worst case you boot up a virtual server with the same OS as your own and just go down the tree learning permissions, and it’s a deep dive learning experience.