From owner-freebsd-ports@FreeBSD.ORG Mon Dec 8 19:38:04 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 497929F3 for ; Mon, 8 Dec 2014 19:38:04 +0000 (UTC) Received: from smtp-17.italiaonline.it (smtp-17.italiaonline.it [212.48.25.145]) by mx1.freebsd.org (Postfix) with ESMTP id D67DD63D for ; Mon, 8 Dec 2014 19:38:03 +0000 (UTC) Received: from soth.ventu ([151.41.147.207]) by smtp-17.iol.local with bizsmtp id R7e01p00h4Uiovr0H7e1P4; Mon, 08 Dec 2014 20:38:02 +0100 x-libjamoibt: 1601 X-CNFS-Analysis: v=2.1 cv=D8zJK5hj c=1 sm=1 tr=0 a=WmI8W7flXuVK/ohg2x4ixg==:117 a=WmI8W7flXuVK/ohg2x4ixg==:17 a=Yd-oHch9f_kA:10 a=IkcTkHD0fZMA:10 a=A92cGCtB03wA:10 a=4NLc9h2DhmZjB_c7-i0A:9 a=QEXdDO2ut3YA:10 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.9/8.14.7) with ESMTP id sB8JbxbP044982; Mon, 8 Dec 2014 20:38:00 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <5485FE17.9050909@netfence.it> Date: Mon, 08 Dec 2014 20:37:59 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: ports@freebsd.org, garga@FreeBSD.org Subject: Ports changing permissions on directories Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 19:38:04 -0000 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 this something FreeBSD specific or coming from upstream? _ what's the rationale behind this? _ can this be avoided or tweaked? bye & Thanks av. P.S. Another example would be squid.