[TriLUG] Odd Tomcat (or shell-scripting?) problem - regular user process creates root-owned files

Brian McCullough bdmc at bdmcc-us.com
Tue May 29 09:45:24 EDT 2007


On Tue, May 29, 2007 at 03:49:49PM +1000, Jeremy Portzer wrote:
> 
> I'm encountering a strange problem related to file permissions with 
> Tomcat, the Java application server.  Tomcat includes a procedure to 
> auto-rotate its logfiles, but when it does so, new log files are created 
> with root ownership, even though the java process runs as a normal user. 


Jeremy,

Just a bit off the wall, but are you sure that the regular system
logrotate and syslogd aren't sticking their noses in where they are not
wanted?


Brian





More information about the TriLUG mailing list