[Bug 203888] www/tomcat8: temp directory should be owned by www to allow applications to use it
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 20 10:27:39 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203888
Bug ID: 203888
Summary: www/tomcat8: temp directory should be owned by www to
allow applications to use it
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ale at FreeBSD.org
Reporter: ari.suutari at syncrontech.com
Flags: maintainer-feedback?(ale at FreeBSD.org)
Assignee: ale at FreeBSD.org
When tomcat8 is installed from ports the temp directory
(/usr/local/apache-tomcat-8.0/temp) is owned by root. When web applications
attempt to use this directory for temporary work files things go wrong, as
tomcat is running as www user.
If directory ownership is changed to www everything works.
Snip from pkg-plist:
%%T%%/lib/websocket-api.jar
%%T%%/temp/safeToDelete.tmp
@dir %%T%%/temp
@owner %%WWWOWN%%
@group %%WWWGRP%%
%%T%%/webapps/ROOT/RELEASE-NOTES.txt
%%T%%/webapps/ROOT/WEB-INF/web.xml
If this is changed to:
%%T%%/lib/websocket-api.jar
%%T%%/temp/safeToDelete.tmp
@owner %%WWWOWN%%
@group %%WWWGRP%%
@dir %%T%%/temp
%%T%%/webapps/ROOT/RELEASE-NOTES.txt
%%T%%/webapps/ROOT/WEB-INF/web.xml
then we would get correct permissions during package install.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list