Great Circle Associates Majordomo-Workers
(November 1996)
 

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

Subject: Umask not set in 1.94
From: Dave Wolfe <dwolfe @ risc . sps . mot . com>
Date: Wed, 20 Nov 1996 11:44:08 -0600 (CST)
To: majordomo-workers @ greatcircle . com (Majordomo developer's mailing list)
Cc: tibbs @ hpc . uh . edu (Jason L Tibbitts III), cwilson @ slurp . neu . sgi . com (Chan Wilson)
Reply-to: Dave Wolfe <david_wolfe @ risc . sps . mot . com>

Can someone justify why the "umask(007);" line was removed from
sample.cf in 1.94? It was there to set the default umask for all Mj
processes. The $config_umask variable I introduced is only to specify
a (possibly) distinct umask for list configuration files (it should
probably be used for everything but list files, or at least for .passwd
files too) to protect them from unnecessarily broad access.

Without the default umask getting set, it appears that the umask
defaults to 000 on at least one system, resulting all files created by
Mj getting marked by the Beast (666 permissions).

-- 
 Dave Wolfe


Follow-Ups:
Indexed By Date Previous: Re: Statistics about the number of times a list is used
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: another bug fix to 1.94 majordomo.pl
From: Walt Haas <haas@xmission.com>
Indexed By Thread Previous: Re: Majordomo 1.94.1 -- the first patch
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: Umask not set in 1.94
From: Chan Wilson <cwilson@slurp.neu.sgi.com>

Google
 
Search Internet Search www.greatcircle.com