From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 20 15:50:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29E3E16A420 for ; Tue, 20 Nov 2007 15:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1918013C46B for ; Tue, 20 Nov 2007 15:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAKFo1Ir029578 for ; Tue, 20 Nov 2007 15:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAKFo1in029577; Tue, 20 Nov 2007 15:50:01 GMT (envelope-from gnats) Resent-Date: Tue, 20 Nov 2007 15:50:01 GMT Resent-Message-Id: <200711201550.lAKFo1in029577@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, NAKAJI Hiroyuki Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C060316A417 for ; Tue, 20 Nov 2007 15:49:17 +0000 (UTC) (envelope-from nakaji@ra333.heimat.gr.jp) Received: from www.heimat.gr.jp (unknown [IPv6:2001:3e0:a84::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7844213C503 for ; Tue, 20 Nov 2007 15:49:17 +0000 (UTC) (envelope-from nakaji@ra333.heimat.gr.jp) Received: from ra333.heimat.gr.jp ([IPv6:2001:3e0:a84:0:200:4cff:fe17:573c]) by www.heimat.gr.jp (8.14.2/8.14.2) with ESMTP id lAKFmkdV087415 for ; Wed, 21 Nov 2007 00:48:46 +0900 (JST) (envelope-from nakaji@ra333.heimat.gr.jp) Received: (from nakaji@localhost) by ra333.heimat.gr.jp (8.14.1/8.14.1/Submit) id lAKFmj4w004477; Wed, 21 Nov 2007 00:48:45 +0900 (JST) (envelope-from nakaji) Message-Id: <200711201548.lAKFmj4w004477@ra333.heimat.gr.jp> Date: Wed, 21 Nov 2007 00:48:45 +0900 (JST) From: NAKAJI Hiroyuki To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/118151: [www/zope29] post-install breaks zope instances X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: NAKAJI Hiroyuki List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2007 15:50:02 -0000 >Number: 118151 >Category: ports >Synopsis: [www/zope29] post-install breaks zope instances >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Nov 20 15:50:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: NAKAJI Hiroyuki >Release: FreeBSD 8.0-CURRENT pc98 >Organization: >Environment: System: FreeBSD ra333.heimat.gr.jp 8.0-CURRENT FreeBSD 8.0-CURRENT #75: Thu Oct 25 16:18:01 JST 2007 root@ra333.heimat.gr.jp:/usr/obj/usr/src/sys/RA333 pc98 >Description: At post-install stage, "chmod a-w" is executed for all files below /usr/local/www/Zope29. And it affects on the zope instance placed at /usr/local/www/Zope29/instance, that is, var/Data.fs, logs/event.log and so on of the zope instance are not writeable. It occurs easily by portupgrade. >How-To-Repeat: # cd /usr/ports/www/zope29 # make install # make instance INSTANCENAME=instance use zope29 ... # portupgrade zope29 And then, all files under /usr/local/www/Zope29/instance are 0444. >Fix: Only zope29 files are to be chmod-ed at post-install stage. --- Makefile 28 Mar 2007 16:57:16 +0900 1.92 +++ Makefile 21 Nov 2007 00:37:49 +0900 @@ -81,7 +81,9 @@ ${CP} ${FILESDIR}/Products_00readme-freebsd.txt \ ${ZOPEBASEDIR}/Products/00readme-freebsd.txt - ${FIND} ${ZOPEBASEDIR} -type f -print0 | ${XARGS} -0 -- ${CHMOD} a-w+r +.for d in lib bin doc skel Products + ${FIND} ${ZOPEBASEDIR}/$d -type f -print0 | ${XARGS} -0 -- ${CHMOD} a-w+r +.endfor @${CAT} ${PKGMESSAGE} @${ECHO_MSG} >Release-Note: >Audit-Trail: >Unformatted: