Hi People,
I solved my medit problem, with a bit o' help from James B. Byrne
<byrnejb@harte-lyne.ca> (though he may be surprised at that ;). medit
seems to require open_temp from majordomo.pl, yet it doesn't `require'`
it, if you catch my drift. So I added the line, and medit worked!
A side effect of getting it to worked is that I noticed what I think might
be a gotcha (or maybe it only matters to me?). I have gotten the
impression from various dox that pretty much everything except wrapper
should be `chown majordom.majordom'd -- but medit'ing files leaves them as
whoever you happen to be. I took the easy way out, and added a line like
this:
system(chown majordom.majordom $_");
after the
system("$editor $_");
line. It occurs to me that this isn't a solution for anyone but me,
necessarily, since other people's OSs may work differently, or you may be
using different user/group names than I am. But I figured I'd mention it
here anyway . . . seems like something along those lines (or making medit
setuid <whoever-your-majordomo-user-is>, which I don't know how to do ;)
would be a good change to make. Comments (e-mailed if you'd like) or
flames (definitely e-mailed)?
Thanks for your patience with a Majornewbie ;) . . . .
Kendall
Follow-Ups:
|
|