this post was submitted on 08 Jul 2024
500 points (97.0% liked)

Programmer Humor

32559 readers
680 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 4 months ago

I agree with the critics, the Unix permission model is too basic. I've run into this myself doing the very difficult operation of "reusing an ext4 USB drive on another computer" because all the files were suddenly owned by a user that didn't even exist on my laptop.

NTFS fixed this issue by having the OS generate user IDs across systems rather than reusing the same IDs and making the administrators match everything up. I don't think selinux can fix that, though.

I welcome the extensions bringing Linux' permission model to the 21st century, but the way they've all been implemented independently does cause some weird edge cases that clearly nobody has tested.