FreeBSD Port: tomcat8-8.0.24

horst leitenmueller horst.leitenmueller at be-informed.at
Sat Nov 7 10:10:39 UTC 2015


hi,

could you please fix the problem that the temp directory is not RW for the www user ?

root at XYZ/ # ls -la /usr/local/apache-tomcat-8.0/
total 171
drwxr-xr-x  10 root  wheel     14 Oct 24 07:44 .
drwxr-xr-x  16 root  wheel     17 Oct 24 07:46 ..
-rw-r--r--   1 root  wheel  57011 Oct 19 11:29 LICENSE
-rw-r--r--   1 root  wheel   1444 Oct 19 11:29 NOTICE
-rw-r--r--   1 root  wheel   6741 Oct 19 11:29 RELEASE-NOTES
-rw-r--r--   1 root  wheel  16204 Oct 19 11:29 RUNNING.txt
drwxr-xr-x   2 root  wheel     17 Oct 24 07:44 bin
drwxr-xr-x   3 www   www       19 Oct 24 07:50 conf
drwxr-xr-x   2 root  wheel      2 Oct 19 11:29 endorsed
drwxr-xr-x   2 root  wheel     27 Oct 24 07:44 lib
drwxr-xr-x   3 www   www        9 Oct 24 07:50 logs
drwxr-xr-x   2 root  wheel      3 Oct 19 11:29 temp
drwxr-xr-x   7 www   www        7 Oct 19 11:29 webapps
drwxr-xr-x   3 www   www        3 Oct 24 07:50 work

my fix, needed to run the app which is deployed as war file
root at XYZ/ # chown -R www:www /usr/local/apache-tomcat-8.0/temp


some Apps need the temp directory for example extracting or handling images 

thanx in advance 

horst



More information about the freebsd-ports mailing list