Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 2014 12:04:40 -0800
From:      Charles Swiger <cswiger@mac.com>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        ports@freebsd.org, garga@FreeBSD.org
Subject:   Re: Ports changing permissions on directories
Message-ID:  <D5D0E5D3-84C5-4D0E-BF0F-B481B33F1C8F@mac.com>
In-Reply-To: <5485FE17.9050909@netfence.it>
References:  <5485FE17.9050909@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 8, 2014, at 11:37 AM, Andrea Venturoli <ml@netfence.it> wrote:
> Hello.
>=20
> 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.
>=20
> 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,
--=20
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D5D0E5D3-84C5-4D0E-BF0F-B481B33F1C8F>