Great Circle Associates Majordomo-Users
(April 2000)
 

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

Subject: Re: Problem with "group writable"
From: Dan Liston <dliston @ netscape . com>
Organization: iPlanet E-Commerce Solutions, A Sun Netscape Alliance
Date: Tue, 25 Apr 2000 13:18:11 -0500
To: Roderick Padilla <rpadilla @ gsu . edu>
Cc: majordomo-users @ GreatCircle . COM
References: <Pine.LNX.4.10.10004201043010.15760-100000@main.zetokat.com.pl> <4.2.2.20000424193425.00d64680@pop.cis.gsu.edu> <4.2.2.20000425104729.00d03ab0@pop.cis.gsu.edu>

Roderick Padilla wrote:
> 
> >Is /object_research group or world writable?
> 
> yes, 775 (group) (??!!)
> 
> >None of them should be.  If they are, chmod them to 755 or 751.
> 
> Wow ...I  never thought it would require the root (top) to be like that. I
> was just paying attention to the lower level.  I am using Sendmail's Single
> Switch (based on 8.10) and started changing some stuff on its config trying
> to make it run on world writable dir's w/o luck. It works now ....
> 
> > From your majordomo.cf file,
> >Does $whereami = "cis.gsu.edu";
> >Does $homedir = "/object_research/system/majordomo-1.94.5";
> >Does $listdir = "/object_research/system/majordomo-1.94.5/lists";
> 
> yes to all .... :-)
> 
> >The next questions are not as important right now but,
> >Does $filedir = "$listdir";
> >Does $filedir_suffix = ".archive";
> 
> yes to all ....
> 
> >Does $digest_work_dir = "$homedir/digests";
> 
> "$listdir/digests" and it is 755. I also have a "archive" dir  in the same
> level with 755.
> 
> Let me know if this is wrong for archiving/digesting Thanks!

Having $listdir/digests is OK, but your majordomo.cf is instructing the
program to use $listdir/$listname.archive rather than $listdir/archive for
archives.  My preference is to have "lists", "digests", and "archive" all
on the same level of the tree.  If $listdir = $homedir/lists, then I use
$digest_work_dir = $homedir/digests, and $filedir = $homedir/archive with
$filedir_suffix = "".

If you adopt this approach, keep in mind that you need subdirectories under
each of digests and archive with listname-digest, and potentially one under
archive called listname.  This is inline with sample.cf for digests, but 
varies from sample.cf for archive.  This means your aliases would look
different from the examples when doing archiving.  My test-archive alias
looks like this;
test-archiver:  "|/var/majordomo/wrapper archive2.pl 
	-f /var/majordomo/archive/test/test -M -a"
You did know you could split an alias across multiple lines by indenting
the additional lines right?
test is a the base name of the archive, and will be suffixed with .YYYYMM
because of the -M.  test.200004 will live in /var/majordomo/archive/test.
If you decide to use digestified lists, digest needs a listname-digest
directory under archive to store the files it creates. (v01.n001)

What would be nice, and I have not seen it or done it myself, is to have
the volume number be equated with and automated to a 2 or 4 digit year
value.

Dan Liston


Follow-Ups:
References:
Indexed By Date Previous: Re: Default Reply-To Mailing List versus Sender....
From: Michael Yount <csf@moscow.com>
Next: Re: MD 2.0 - adding addresses.
From: Sudhakar Chandrasekharan <thaths@netscape.com>
Indexed By Thread Previous: Re: Problem with "group writable"
From: "Roger B.A. Klorese" <rogerk@QueerNet.ORG>
Next: Re: Problem with "group writable"
From: Roderick Padilla <rpadilla@gsu.edu>

Google
 
Search Internet Search www.greatcircle.com