From owner-freebsd-java@FreeBSD.ORG Thu Sep 25 06:07:36 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 156DD16A4B3 for ; Thu, 25 Sep 2003 06:07:36 -0700 (PDT) Received: from smtp0.euronet.nl (smtp0.euronet.nl [194.134.35.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81C6F44017 for ; Thu, 25 Sep 2003 06:07:34 -0700 (PDT) (envelope-from ernst.dehaan@nl.wanadoo.com) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by smtp0.euronet.nl (Postfix) with ESMTP id E4A0D24738; Thu, 25 Sep 2003 15:07:32 +0200 (MEST) From: Ernst de Haan Organization: Wanadoo Nederland B.V. Date: Thu, 25 Sep 2003 15:07:34 +0200 User-Agent: KMail/1.5.2 To: java@FreeBSD.org X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309251507.34337.ernst.dehaan@nl.wanadoo.com> cc: liukang@bjpu.edu.cn cc: Angelo Turetta Subject: Fwd: jakarta-tomcatX: different behaviour between port and package X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2003 13:07:36 -0000 See below, Does anyone have time to write patches for this problem? I know the pkg-plist should be changed to replace the functionality that is now in post-install. Ernst ---------- Forwarded Message ---------- Subject: jakarta-tomcatX: different behaviour between port and package Date: woensdag 24 september 2003 20:35 From: Angelo Turetta To: ports@FreeBSD.org Cc: liukang@bjpu.edu.cn Installing a package built from the jakarta-tomcat{41|5} ports, results in the installation directories created with owner:group of the user running pkg_add. After installing the port itself, instead, those same directories have the correct owner:group of www:www. That behaviour of the packages breaks tomcat, because it needs write permission to create temporary files & dirs. The simptom is that on first run you get the following error in logs/stdout.log WARNING: Unexpected exception resolving reference java.io.FileNotFoundException: /usr/local/jakarta-tomcat5.0/conf/tomcat-users.xml.new (Permission denied) (catalina stack trace follows) Angelo Turetta Commit _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -------------------------------------------------------