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. 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} 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.
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
State Changed From-To: feedback->closed Committed, thanks!
pav 2007-12-14 21:19:30 UTC FreeBSD ports repository Modified files: www/zope29 Makefile Log: - 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. PR: ports/118151 Submitted by: NAKAJI Hiroyuki <nakaji@jp.freebsd.org> Approved by: maintainer timeout (3 weeks) Revision Changes Path 1.93 +3 -1 ports/www/zope29/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"