From owner-freebsd-ports@FreeBSD.ORG Wed Sep 24 11:39:01 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DB5416A4C2 for ; Wed, 24 Sep 2003 11:39:01 -0700 (PDT) Received: from mailbox.rainbownet.com (mailbox.rainbownet.com [213.174.191.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA4E74401F for ; Wed, 24 Sep 2003 11:38:59 -0700 (PDT) (envelope-from aturetta@commit.it) Received: from commit.it ([192.168.29.102]) (authenticated user aturetta@rainbownet.com) by rainbownet.com (rainbownet.com [127.0.0.1]) (MDaemon.PRO.v6.8.4.R) with ESMTP id 63-md50000000546.tmp for ; Wed, 24 Sep 2003 20:35:50 +0200 Message-ID: <3F71E405.2080308@commit.it> Date: Wed, 24 Sep 2003 20:35:49 +0200 From: Angelo Turetta User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ports@FreeBSD.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: aturetta@rainbownet.com X-Spam-Processed: rainbownet.com, Wed, 24 Sep 2003 20:35:50 +0200 (not processed: message from valid local sender) X-MDRemoteIP: 192.168.29.102 X-Return-Path: aturetta@commit.it X-MDaemon-Deliver-To: ports@FreeBSD.org cc: liukang@bjpu.edu.cn Subject: jakarta-tomcatX: different behaviour between port and package X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2003 18:39:01 -0000 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