[DGD] Access

Mikael Lind z94lind at mtek.chalmers.se
Thu Aug 9 14:42:19 CEST 2001


Quoting pete at ana.sk from 14:00, 2001-08-09:

> I know, i have studied how it works. But then, look at line 97 in 
> same code:
> access = uaccess[user];
> This apparently expects user name as paramter not object name. I 
> thought this is for general use and should be in use not only in 
> wiztool... but maybe i was mistaking. I'm starting to have a feeling 
> that using kernel library was not such a good idea after all.

The user can be given in two different ways: as a plain user name
("elemel") or as part of an object name
("/usr/elemel/room/workshop"). Lines 81 through 87 of accessd.c
permits objects to access their creator's directory.

After some initial problems I had, Dworkin emphasised that
compilation and calling are to be kept separate. This is a bit tricky
to get used to after coding compile-on-demand muds. I now have my
~System/initd cascade to each ~user/initd. The init managers should
compile all relevant files on a non-continuous mud. On a continuous
mud, you would probably compile each file with your wiztool as you
build and test the code.

// Mikael / Elemel

--
I embrace my desire to feel the rhythm / To feel connected enough to
step aside and weep like a widow / To feel inspired / To fathom the
power / To witness the beauty / To bathe in the fountain / To swing
on the spiral of our divinity and still be a human // Tool

_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list