[DGD] Inherit/include

Felix A. Croes felix at dworkin.nl
Sun Feb 10 02:17:19 CET 2002


>   There isn't a System user who can log in.  Indeed, that is explicitly
> forbidden.  However, in the create() function of the wiztool it compiles
> the objects it may later wish to clone.  In my case, they are things like
> /usr/common/obj/user_state.c.  When I include a call to compile_object on
> that object in the creator function, the call to access() that occurs in
> /kernel/lib/wiztool.c passes owner (System), path
> (/usr/common/obj/user_state.c) and access (WRITE_ACCESS).  Therefore,
> System winds up needing write access to that file to compile it in its
> create function.


    inherit auto "/kernel/lib/auto";
    inherit wiztool "/kernel/lib/wiztool";

    ...

    auto::compile_object("/usr/common/obj/user_state");

    ...


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



More information about the DGD mailing list