User: Password:
Subscribe / Log in / New account

Six bytes?

Six bytes?

Posted Nov 29, 2010 21:20 UTC (Mon) by neilbrown (subscriber, #359)
In reply to: Six bytes? by Ross
Parent article: Ghosts of Unix past, part 3: Unfixable designs

Yes, that is what I meant.

As you say, permission information only uses 5bytes and 1 bit (setuid etc are not permission bits, they are really the 'type' of the object and so are is some ways more closely related to IF_REG etc). Being that precise in the article would have been excessive I think. It is still true that the permissions were stored in 6 bytes. It is just that some room was left over for file type as well.

POSIX ACLs may well be mostly ignored, but ACLs are still the only direction being explored for making the permission model more complete. My point was simply that they have a storage cost which gets worse quickly, but worse than that it has a serious usability cost.

(Log in to post comments)

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds