ColdWater@lemmy.ca to linuxmemes@lemmy.worldEnglish · 2 months agoI never had problems with permission again after I know the real power of sudolemmy.caimagemessage-square57fedilinkarrow-up1477arrow-down112
arrow-up1465arrow-down1imageI never had problems with permission again after I know the real power of sudolemmy.caColdWater@lemmy.ca to linuxmemes@lemmy.worldEnglish · 2 months agomessage-square57fedilink
minus-squarebitchkat@lemmy.worldlinkfedilinkEnglisharrow-up37·2 months agoHad an idiot “fix” a permission problem by running “sudo chmod -R 777 /” And that is why sudo privileges were removed for the vast majority of people.
minus-squarebigbuckalex@lemmy.ziplinkfedilinkarrow-up16·2 months agoOh… That sounds like a nightmare. How do you even fix that? There’s no “revert the entire filesystem’s permissions to default” button that I’m aware of
minus-squarerabber@lemmy.calinkfedilinkEnglisharrow-up19·2 months agoYou restore the system from backup
minus-squarebitchkat@lemmy.worldlinkfedilinkEnglisharrow-up2·2 months agoI think they had to reinstall. It was part of a Hadoop cluster and that was extra finicky.
minus-squareMTK@lemmy.worldlinkfedilinkarrow-up9arrow-down1·2 months agoseems reasonable to me, root is just a made up concept and the human owns the machine.
minus-squaremlg@lemmy.worldlinkfedilinkEnglisharrow-up5·2 months agoShared this before, but someone I know did a chmod on /bin which nuked all the SUID/GUID bits which borked the system lol. Surpsingly easy enough to undo by getting a list of the correct perms from a working system, but hilarious nonetheless
Had an idiot “fix” a permission problem by running “sudo chmod -R 777 /”
And that is why sudo privileges were removed for the vast majority of people.
Oh… That sounds like a nightmare. How do you even fix that? There’s no “revert the entire filesystem’s permissions to default” button that I’m aware of
You restore the system from backup
I think they had to reinstall. It was part of a Hadoop cluster and that was extra finicky.
deleted by creator
seems reasonable to me, root is just a made up concept and the human owns the machine.
Shared this before, but someone I know did a chmod on /bin which nuked all the SUID/GUID bits which borked the system lol.
Surpsingly easy enough to undo by getting a list of the correct perms from a working system, but hilarious nonetheless