Go Stack
Richard MacLemale
rmaclemale at earthlink.net
Tue Mar 19 21:40:01 EST 2002
> But I still can't get a stack to search its own fields. Are field
> searches a GUI thing that is impossible in an mt script?
I think that IS the case. So you probably have to work around that by using
offset or something else.
One other thing that doesn't apply to your problem right now but you may run
into... when darwin mc runs, it runs as whoever calls it. So if you call it
from a web browser, it's run as the user "www" (I think.) This can cause
serious problems if you want mc to, for example, write to directories that
you DON'T want anyone else to write to. There is a way to set a metacard
script (.mt file) to run AS root. It's chmod a+s myscript.mt (when logged
in as root.) Then anytime the script runs, it runs with root permissions so
it can do pretty much anything. This is, of course, a security hole, but
it's probably better than making "www" the owner of a bunch of folders...
:)
Richard MacLemale
Instructional Technology Specialist
James W. Mitchell High School
http://mitchellonline.pasco.k12.fl.us
More information about the metacard
mailing list