From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 15 03:10:18 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B60BF16A41F for ; Tue, 15 Nov 2005 03:10:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A3B443D45 for ; Tue, 15 Nov 2005 03:10:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAF3AGP5032193 for ; Tue, 15 Nov 2005 03:10:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAF3AGx1032190; Tue, 15 Nov 2005 03:10:16 GMT (envelope-from gnats) Resent-Date: Tue, 15 Nov 2005 03:10:16 GMT Resent-Message-Id: <200511150310.jAF3AGx1032190@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mario Sergio Fujikawa Ferreira Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9E7D16A41F for ; Tue, 15 Nov 2005 03:02:48 +0000 (GMT) (envelope-from lioux@uol.com.br) Received: from vette.gigo.com (vette.gigo.com [216.218.228.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80ADC43D45 for ; Tue, 15 Nov 2005 03:02:48 +0000 (GMT) (envelope-from lioux@uol.com.br) Received: from 200.140.3.100 (unknown [200.140.3.100]) by vette.gigo.com (Postfix) with ESMTP id C08255681 for ; Mon, 14 Nov 2005 19:02:47 -0800 (PST) Received: (qmail 74208 invoked by uid 1001); 15 Nov 2005 00:59:43 -0200 Message-Id: <20051115030005.74136.qmail@exxodus.fedaykin.here> Date: 15 Nov 2005 00:59:43 -0200 From: Mario Sergio Fujikawa Ferreira To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: neal@nelson.name Subject: ports/89042: [patch] devel/py-twistedCore install with wrong permissions X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mario Sergio Fujikawa Ferreira List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 03:10:18 -0000 >Number: 89042 >Category: ports >Synopsis: [patch] devel/py-twistedCore install with wrong permissions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 15 03:10:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Mario Sergio Fujikawa Ferreira >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD exxodus.fedaykin.here 5.4-STABLE FreeBSD 5.4-STABLE #13: Wed Nov 2 10:58:23 BRST 2005 lioux@exxodus:/usr/src/sys/i386/compile/LIOUX i386 >Description: Depending on your umask(1) setting, several files will not have the proper permissions for either group or other. Your mileage may vary though. >How-To-Repeat: Install port with umask(1) 077, several files under /usr/local/lib/python2.4/site-packages/twisted/ You will notice that some files will have different permissions than what would be expected. >Fix: Force post-install chmod fix. --- patch-Makefile begins here --- --- Makefile.orig Tue Nov 15 00:29:10 2005 +++ Makefile Tue Nov 15 00:44:42 2005 @@ -35,4 +35,9 @@ PLIST_SUB+= S=${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} +post-install: +# permission safeness + @${CHMOD} -R ${SHAREMODE} ${PYTHONPREFIX_SITELIBDIR}/twisted/* + @${CHMOD} -R a+X ${PYTHONPREFIX_SITELIBDIR}/twisted/* + .include --- patch-Makefile ends here --- >Release-Note: >Audit-Trail: >Unformatted: