Great Circle Associates Majordomo-Users
(April 1996)
 

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

Subject: Re: Protection Violation - Archive Directory
From: Jason L Tibbitts III <tibbs @ hpc . uh . edu>
Date: Tue, 09 Apr 1996 14:49:49 -0500
To: john . leonard @ ce . gatech . edu
Cc: majordomo-users @ GreatCircle . COM
In-reply-to: Your message of "Tue, 09 Apr 96 12:47:39 EDT"
References: <9604091746.AA08168@trec.ce.gatech.edu>
Reply-to: tibbs @ uh . edu

>>>>> "JDL" == John D Leonard <john.leonard@ce.gatech.edu> writes:

JDL> Where can I tell majordomo to create all archive files with a 644
JDL> protection mask?

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.

 - J<


References:
Indexed By Date Previous: Re: Protection Violation - Archive Directory
From: Keith Reding <kreding@info.aphis.usda.gov>
Next: Linux
From: Eric Princen <ericp@dvorak.com>
Indexed By Thread Previous: Re: Protection Violation - Archive Directory
From: "Sean Davies" <sean@hursley.ibm.com>
Next: Re: Protection Violation - Archive Directory
From: Bryan Fullerton <bryanf@samurai.com>

Google
 
Search Internet Search www.greatcircle.com