ports/118151: [www/zope29] post-install breaks zope instances
NAKAJI Hiroyuki
nakaji at jp.freebsd.org
Tue Nov 20 15:50:02 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list