[Mailmunge] Installation under /usr/local

Dianne Skoll dianne at skollsoft.com
Wed Aug 30 11:58:53 EDT 2023


On Mon, 14 Aug 2023 11:25:08 +0300
"Mail administrator, Otto Makela via Mailmunge"
<mailmunge at lists.mailmunge.org> wrote:

> 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.

OK, I'm glad that worked, but curious as to why.  The Makefile should be
using the "install" program and explicitly setting the mode to 755 or 644
depending on whether or not the file is supposed to be executable.  Maybe
on your system, "install" doesn't exist or it doesn't respect the "-m"
option?  Very strange.

> 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.

Yep.  I might be wrong, but I seem to recall Debian optionally lets
you create per-user groups for the same reason.

Regards,

Dianne.




More information about the Mailmunge mailing list