Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 2003 15:07:34 +0200
From:      Ernst de Haan <ernst.dehaan@nl.wanadoo.com>
To:        java@FreeBSD.org
Cc:        Angelo Turetta <aturetta@commit.it>
Subject:   Fwd: jakarta-tomcatX: different behaviour between port and package
Message-ID:  <200309251507.34337.ernst.dehaan@nl.wanadoo.com>

next in thread | raw e-mail | index | archive | help
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 <aturetta@commit.it>
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"

-------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309251507.34337.ernst.dehaan>