Ports changing permissions on directories

Charles Swiger cswiger at mac.com
Mon Dec 8 20:04:47 UTC 2014


On Dec 8, 2014, at 11:37 AM, Andrea Venturoli <ml at netfence.it> wrote:
> Hello.
> 
> There are some ports that insist on changing permissions on some directories.
> An example is clamav, which will always change /var/db/clamav mask to 755.
> 
> Since I always need to "chmod 775 /var/db/clamav" after an upgrade, I'm asking:
> _ where does this come from? I tried to look into Makefile, but didn't get to it;

Is the umask setup in your shell 022 or 002?

With the FreeBSD tendency to always allocate both a user and group together,
having group-writable be a default option is reasonable, but most software tends
to assume that only the owner should have write access and not group write.

Regards,
-- 
-Chuck



More information about the freebsd-ports mailing list