jakarta-tomcatX: different behaviour between port and package

Angelo Turetta aturetta at commit.it
Wed Sep 24 11:39:01 PDT 2003

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 

WARNING: Unexpected exception resolving reference
/usr/local/jakarta-tomcat5.0/conf/tomcat-users.xml.new (Permission denied)
  (catalina stack trace follows)

Angelo Turetta

More information about the freebsd-ports mailing list