From owner-freebsd-ports@FreeBSD.ORG Mon Dec 8 20:20:04 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 255699CF for ; Mon, 8 Dec 2014 20:20: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 AFF07ACC for ; Mon, 8 Dec 2014 20:20:03 +0000 (UTC) Received: from soth.ventu ([151.41.147.207]) by smtp-17.iol.local with bizsmtp id R8L01p00P4Uiovr0H8L1cw; Mon, 08 Dec 2014 21:20: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=N659UExz7-8A:10 a=A92cGCtB03wA:10 a=MiYjdsmHW7uoZvk1-WEA:9 a=pILNOxqGKmIA:10 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.9/8.14.7) with ESMTP id sB8KJxqc091518; Mon, 8 Dec 2014 21:19:59 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <548607EF.5080504@netfence.it> Date: Mon, 08 Dec 2014 21:19: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: Charles Swiger Subject: Re: Ports changing permissions on directories References: <5485FE17.9050909@netfence.it> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org 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 20:20:04 -0000 On 12/08/14 21:04, Charles Swiger wrote: >> 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? If I run "umask" as root, I get 22, if that's what you mean. However, I'm puzzled about how this should affect directories which already exist. Is there some official doc on the interaction between umask and the port system? bye & Thanks av.