> (now if we could decide how to fix/check umask. > No real way of knowing if it's a install/reinstall, > Only flag is during portupgrade I think.
I see, I thought the ports Makefile explicitly makes these directories if missing, but now I see the perl makefile does it: ... Installing /usr/local/bin/spamd Installing /usr/local/bin/sa-update Writing /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/Mail/SpamAssassin/.packlist /usr/local/bin/perl5.8.8 "-MExtUtils::Command" -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 http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5507 gets accepted to facilitate port-festum troubleshooting. Mark