ColdWater@lemmy.ca to linuxmemes@lemmy.worldEnglish · 1 day agoI never had problems with permission again after I know the real power of sudolemmy.caimagemessage-square94fedilinkarrow-up1502arrow-down113
arrow-up1489arrow-down1imageI never had problems with permission again after I know the real power of sudolemmy.caColdWater@lemmy.ca to linuxmemes@lemmy.worldEnglish · 1 day agomessage-square94fedilink
minus-squareB-TR3E@feddit.orglinkfedilinkarrow-up23·22 hours agoIt’s safe because it’s sudo! Like sudo rm -rf /*
minus-squarebitchkat@lemmy.worldlinkfedilinkEnglisharrow-up5·12 hours agoBack in the olden days we used to nfs mount every other machines file system on every machine. I was root and ran “rm -rf /" instead of "./”. After I realized that it was taking too long, i realized my error. Now for the fun part. In those days nfs passed root privileges to the remote file system. I took out 2.5 machines before I killed it.
minus-squarebaines@lemmy.cafelinkfedilinkEnglisharrow-up2·7 hours agoI did this in a cleanup script in a make file with an undefined path that turned the pointed dir to root after a hardware change thank rngesus I was in a user account with limited privileges
minus-squareValmond@lemmy.worldlinkfedilinkarrow-up2·8 hours agoAnyone remember that nvidia fix where a space slipped in like: rm -rf / nvidia ?
minus-squarehddsx@lemmy.calinkfedilinkarrow-up11·23 hours agoYou won’t be able to do certain things. Either .ssh or ~ expects certain exact permissions and pukes if it’s different, IIRC
minus-squareCethin@lemmy.ziplinkfedilinkEnglisharrow-up7·16 hours agoYep. I fucked up once when I meant to type chmod for something but with “./” but I missed the “.”. It was not good.
sudo chmod -R 777 /
It’s safe because it’s sudo! Like sudo rm -rf /*
Back in the olden days we used to nfs mount every other machines file system on every machine. I was root and ran “rm -rf /" instead of "./”.
After I realized that it was taking too long, i realized my error.
Now for the fun part. In those days nfs passed root privileges to the remote file system. I took out 2.5 machines before I killed it.
I did this in a cleanup script in a make file with an undefined path that turned the pointed dir to root after a hardware change
thank rngesus I was in a user account with limited privileges
Anyone remember that nvidia fix where a space slipped in like: rm -rf / nvidia ?
You won’t be able to do certain things. Either .ssh or ~ expects certain exact permissions and pukes if it’s different, IIRC
Yep. I fucked up once when I meant to type chmod for something but with “./” but I missed the “.”. It was not good.