Re: Freebsd Port of SA 3.2.1
> (now if we could decide how to fix/check umask.[color=blue]
> No real way of knowing if it's a install/reinstall,
> Only flag is during portupgrade I think.[/color]
I see, I thought the ports Makefile explicitly makes these
directories if missing, but now I see the perl makefile does it:
-e mkpath /usr/local/etc/mail/spamassassin
And the ExtUtils::Command::mkpath (by calling File::Path) just applies
the current umask when creating directories.
There exists a ExtUtils::Command::chmod, although perhaps it would not
be appropriate to use it, in case directories existed from before.
I noticed the ports install _does_ issue a warning:
===> Warning: your umask is "0027".
If this is not desired, set it to an appropriate value
and install this port again by ``make reinstall''.
So perhaps this suffices (for somebody actually reading it :),
especially if my
gets accepted to facilitate port-festum troubleshooting.