You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Melanie Pfefer <me...@yahoo.co.uk> on 2009/06/29 17:55:15 UTC

owned by root

Hi

Any idea what makes web applications owned by root even though tomcat runs as a non-root user? (I have mod_jk installed and apache running as root)

Thank you,



      

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: owned by root

Posted by André Warnier <aw...@ice-sa.com>.
Hassan Schroeder wrote:
> On Mon, Jun 29, 2009 at 8:55 AM, Melanie
> Pfefer<me...@yahoo.co.uk> wrote:
> 
>> Any idea what makes web applications owned by root even though tomcat runs as a non-root user?
> 
> Uh, they were installed by root?  :-)
> 
Uh, Uh.  What do you mean by "web applications owned by root" anyway ? 
do you mean the files under (Tomcat_dir)/webapps/ ?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: owned by root

Posted by Hassan Schroeder <ha...@gmail.com>.
On Mon, Jun 29, 2009 at 8:55 AM, Melanie
Pfefer<me...@yahoo.co.uk> wrote:

> Any idea what makes web applications owned by root even though tomcat runs as a non-root user?

Uh, they were installed by root?  :-)

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: owned by root

Posted by David Smith <dn...@cornell.edu>.
Melanie Pfefer wrote:
> Hi
>
> Any idea what makes web applications owned by root even though tomcat runs as a non-root user? (I have mod_jk installed and apache running as root)
>
> Thank you,
>
>
>   

I have two thoughts:

1. You installed the webapp as root which caused the OS to write the
files owned by root
2. There's some kind of security cron job resetting file permissions in
areas like /var


--David

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org