Great Circle Associates Majordomo-Users
(April 1996)
 

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

Subject: Re: Protection Violation - Archive Directory
From: Bryan Fullerton <bryanf @ samurai . com>
Date: Fri, 12 Apr 1996 02:30:58 -0400
To: john . leonard @ ce . gatech . edu
Cc: majordomo-users @ greatcircle . com

At 02:49 PM 09/04/96 -0500, Jason L Tibbitts III <tibbs@hpc.uh.edu> wrote:
>Add the line 
>
>     umask(002);
>
>right before the last call to lopen at the end of the archive2 program.
>This is with 1.92; I haven't hacked up any other versions.  I also don't
>have the original code around, so I can't make a diff.  This works fine for
>me, though.  If you don't like editing the code, try using a cron job.

I don't mind hacking code, but I'd rather not if I can't easily find where
to muck with it (in majordomo 1.93).  If you're already running a
daily/weekly/monthly batching program to digestify any lists that haven't
hit the digest limit (I use digest.send by Paul Pomes <p-pomes@uiuc.edu>),
just add a line to find and chmod after the digest commands.

For example, I put in:

/usr/bin/find /var/spool/ftp/pub/lists -type f -exec chmod 644 {} \;

But then I like find.  I'm sure there are other more concise ways to do it. :)

Bryan
--
bryanf@samurai.com
Owner
Samurai Consulting
http://www.samurai.com


Indexed By Date Previous: Re: resend
From: (John Sechrest) <sechrest@peak.org>
Next: Problems with - Returned Mail
From: Andy Humberston <iah@dmu.ac.uk>
Indexed By Thread Previous: Re: Protection Violation - Archive Directory
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Linux
From: Eric Princen <ericp@dvorak.com>

Google
 
Search Internet Search www.greatcircle.com