Comment on Every time i have to use windows again my IQ slips a point or two
Laser@feddit.de 1 year agoIt’s the same for Linux though, if you mount any drive, your user or rather UID/GID needs appropriate permissions to perform any action. Can even happen that you mount a disk with your old home directory somewhere and can’t access it because your UID changed between installations (though it’s 1000 for most people).
stappern@lemmy.one 1 year ago
hmm i just tested it i can nuke any folder under / no extra work required.
Carighan@lemmy.world 1 year ago
You can nuke a linux-permission-controlled folder from an account that does not have that permission? How did you misconfigure your linux to allow that?!
stappern@lemmy.one 1 year ago
didnt configure anything i booted a live iso and it worked
Carighan@lemmy.world 1 year ago
Aaah, I get it.
Yeah of course that works. If you disable the entire permission framework, naturally permissions can no longer stop you (this is where something like Bitlocker would step in so that even if someone takes the physical drive out they cannot just read from it).
But importantly the same would of course work the other way around. Linux permissions mean fuck all if there’s no Linux around to enforce them, you can just delete whatever then.