Text File

Aucbvax.4471 fa.unix-wizards utzoo!decvax!ucbvax!unix-wizards Thu Oct 15 23:14:04 1981 GID as bit mask >From Hedberg@SUMEX-AIM Thu Oct 15 21:21:27 1981 I have an immediate need for allowing files to be written by more than one group, and for people to be members of more than one group at a time. I heard a 'rumor' Berkeley has done something along this line, but haven't seen it and can't wait. I was thinking of simply defining the group id field of both users and files to be a bit mask, and changing an '==' to a '&' in access() in the kernel. Thus if any of your group bits matched the file's bits, you win. The group "numbers" would have to be assigned geometrically, and would certainly look ugly in decimal. Does anyone know of some hidden dependency requiring gids to be small integers? Can anyone think of a better quick and dirty fix?

Erik Hedberg -------

----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen <jgoerzen@complete.org> of http://communication.ucsd.edu/A-News/

This Usenet Oldnews Archive article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.