Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 2003 20:35:49 +0200
From:      Angelo Turetta <aturetta@commit.it>
To:        ports@FreeBSD.org
Cc:        liukang@bjpu.edu.cn
Subject:   jakarta-tomcatX: different behaviour between port and package
Message-ID:  <3F71E405.2080308@commit.it>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F71E405.2080308>