Go to the first, previous, next, last section, table of contents.


Data Type Ownership

Muq is intended as a fairly heavy-duty multiuser system.

Two consequences of that are that everything which takes space in the db has an owner, Muq tracking the total number of bytes of db space consumed by each user, and that only the owner of an object can modify it.

(Note: This isn't working yet in version -1.0.0.)

Characters, integers, floats and strings may not be modified at all. Cons cells, symbols and vectors may only be modified by their owner.

(As a practical matter, the owner of such data may make publicly available setuid code which empowers others to modify them; when that code does so, however, it does so by running as the legitimate owner, so as far as the server is concerned, it remains true that only the owner can modify them.)


Go to the first, previous, next, last section, table of contents.