Great Circle Associates Majordomo-Users
(September 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: medit problem solved (grin&blush)
From: "Kendall P. Bullen" <kendall @ his . com>
Date: Thu, 19 Sep 1996 22:23:27 -0400 (EDT)
To: majordomo-users @ greatcircle . com

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:
Indexed By Date Previous: Permission and Memory Problems
From: Paul Schneider <p-schne@uiuc.edu>
Next: archive assitance
From: Michael Castellano <webmaster@gcstation.net>
Indexed By Thread Previous: Re: Permission and Memory Problems
From: Dave Wolfe <dwolfe@risc.sps.mot.com>
Next: Re: medit problem solved (grin&blush)
From: Dave Wolfe <dwolfe@risc.sps.mot.com>

Google
 
Search Internet Search www.greatcircle.com