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-square102fedilinkarrow-up1567arrow-down113
arrow-up1554arrow-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-square102fedilink
minus-squarebitchkat@lemmy.worldlinkfedilinkEnglisharrow-up33·11 hours 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-squareMTK@lemmy.worldlinkfedilinkarrow-up5arrow-down1·5 hours agoseems reasonable to me, root is just a made up concept and the human owns the machine.
minus-squarebigbuckalex@lemmy.ziplinkfedilinkarrow-up10·8 hours 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-squarebitchkat@lemmy.worldlinkfedilinkEnglisharrow-up1·31 minutes agoI think they had to reinstall. It was part of a Hadoop cluster and that was extra finicky.
minus-squarerabber@lemmy.calinkfedilinkEnglisharrow-up10·7 hours agoYou restore the system from backup
minus-squarejustme@lemmy.dbzer0.comlinkfedilinkarrow-up4·7 hours agoIf you are lucky your system is atomic or has other roll back feature. Otherwise it’s reinstall time. I guess you could set up a fresh system, run a script that goes through each folder checking the permission and setting it on the target system.
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.
seems reasonable to me, root is just a made up concept and the human owns the machine.
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
I think they had to reinstall. It was part of a Hadoop cluster and that was extra finicky.
You restore the system from backup
If you are lucky your system is atomic or has other roll back feature. Otherwise it’s reinstall time.
I guess you could set up a fresh system, run a script that goes through each folder checking the permission and setting it on the target system.
deleted by creator