[Mailmunge] Installation under /usr/local

Mail administrator, Otto Makela mailadm at csc.fi
Mon Aug 14 04:25:11 EDT 2023


On 8/9/23 20:18, Dianne Skoll via Mailmunge wrote:
> On Wed, 9 Aug 2023 18:55:22 +0300
>> It seems that if you install mailmunge-3.12 from scratch on a machine
>> without any local perl modules yet, "make install" will create an
>> installation under /usr/local that is only be accessible to root?
> 
> I can't replicate this.  Even if I set my umask to 027, I still get
> world-readable files and directories.  Can you try setting "umask 022"
> before running "make install" as root to see if that fixes it?

Ha! The default umask (when logged in, and sudo'ing to root) seems to
be 0027. Explicitly setting "umask 022" before "make install" produces
an installation where those directories are world-readable.

I suspect this is because RHEL has traditionally created for each user
a similarly named group (and they do have a point, with proper umask it
does make groups more useful in sharing directories), and setting the
umask to reflect this.

-- 
mailadm at csc.fi (Mail Administrator, Otto J. Makela)



More information about the Mailmunge mailing list