owned by root

View: New views
4 Messages — Rating Filter:   Alert me  

owned by root

by Melanie Pfefer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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@...
For additional commands, e-mail: users-help@...


Re: owned by root

by David Smith-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
For additional commands, e-mail: users-help@...


Re: owned by root

by Hassan Schroeder-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jun 29, 2009 at 8:55 AM, Melanie
Pfefer<melanie_pfefer@...> 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@...

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


Re: owned by root

by awarnier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hassan Schroeder wrote:
> On Mon, Jun 29, 2009 at 8:55 AM, Melanie
> Pfefer<melanie_pfefer@...> 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@...
For additional commands, e-mail: users-help@...