You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by w i l l i a m b o y d <wb...@yahoo.com> on 2003/09/30 01:19:40 UTC

permissions set by ensim control panel

i'm a server-side java web developer. i know my way
around a linux remote shell account. but i am by no
means a sysadmin. so please cut me some slack if the
solution to my problem seems really obvious to you
linux/tomcat experts out there: 

i have access to a virual private server account at
vi.net (www.vi.net). vi.net gives its vps account
holders a control panel "web appliance" called ensim
(http://www.ensim.com/products/webppliance/linux/faq.html).
however, i usually do all of my real work on this vps
in the remote linux (redhat) shell.

tomcat was automagically installed with a click of a
button on the ensim control panel. when ensim
installed tomcat it set the owner and group to "root"
for most of the directories in $CATALINA_HOME and
still others in that same directory have owner and
group set to "tomcat4". for instance:

/var/tomcat4/bin
/var/tomcat4/classes
/var/tomcat4/common
/var/tomcat4/conf
/var/tomcat4/lib
/var/tomcat4/server

all have owner and group set to "root". the permssions
for all of the above is drwxr-xr-x.  while:

/var/tomcat4/logs
/var/tomcat4/temp
/var/tomcat4/webapps
/var/tomcat4/work

all have their owner and group set to "tomcat4". and
again, the permssions for all of these is drwxr-xr-x.

would this potentially cause any problems as far as
you're aware? what *should* the owner and group be in
a correct tomcat installation? one obvious problem
with this - which i've already run into - only root
can, say, upload jar files to /var/tomcat4/lib.
doesn't tomcat need to be able to get at
/var/tomcat4/lib too? don't the above permissions
forbid tomcat from accessing this directory (and the
others)? 

thanks for letting me pick your brains. and thanks in
advance for your help. take care.

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

Re: permissions set by ensim control panel

Posted by Tim Funk <fu...@joedog.org>.
All I can see is tomcat4 user can create webapps, logs, temp files, and work 
files. While only root can change the config.

-Tim

w i l l i a m b o y d wrote:

> i'm a server-side java web developer. i know my way
> around a linux remote shell account. but i am by no
> means a sysadmin. so please cut me some slack if the
> solution to my problem seems really obvious to you
> linux/tomcat experts out there: 
> 
> i have access to a virual private server account at
> vi.net (www.vi.net). vi.net gives its vps account
> holders a control panel "web appliance" called ensim
> (http://www.ensim.com/products/webppliance/linux/faq.html).
> however, i usually do all of my real work on this vps
> in the remote linux (redhat) shell.
> 
> tomcat was automagically installed with a click of a
> button on the ensim control panel. when ensim
> installed tomcat it set the owner and group to "root"
> for most of the directories in $CATALINA_HOME and
> still others in that same directory have owner and
> group set to "tomcat4". for instance:
> 
> /var/tomcat4/bin
> /var/tomcat4/classes
> /var/tomcat4/common
> /var/tomcat4/conf
> /var/tomcat4/lib
> /var/tomcat4/server
> 
> all have owner and group set to "root". the permssions
> for all of the above is drwxr-xr-x.  while:
> 
> /var/tomcat4/logs
> /var/tomcat4/temp
> /var/tomcat4/webapps
> /var/tomcat4/work
> 
> all have their owner and group set to "tomcat4". and
> again, the permssions for all of these is drwxr-xr-x.
> 
> would this potentially cause any problems as far as
> you're aware? what *should* the owner and group be in
> a correct tomcat installation? one obvious problem
> with this - which i've already run into - only root
> can, say, upload jar files to /var/tomcat4/lib.
> doesn't tomcat need to be able to get at
> /var/tomcat4/lib too? don't the above permissions
> forbid tomcat from accessing this directory (and the
> others)? 
> 
> thanks for letting me pick your brains. and thanks in
> advance for your help. take care.
> 

> 


Re: permissions set by ensim control panel

Posted by Tim Funk <fu...@joedog.org>.
All I can see is tomcat4 user can create webapps, logs, temp files, and work 
files. While only root can change the config.

-Tim

w i l l i a m b o y d wrote:

> i'm a server-side java web developer. i know my way
> around a linux remote shell account. but i am by no
> means a sysadmin. so please cut me some slack if the
> solution to my problem seems really obvious to you
> linux/tomcat experts out there: 
> 
> i have access to a virual private server account at
> vi.net (www.vi.net). vi.net gives its vps account
> holders a control panel "web appliance" called ensim
> (http://www.ensim.com/products/webppliance/linux/faq.html).
> however, i usually do all of my real work on this vps
> in the remote linux (redhat) shell.
> 
> tomcat was automagically installed with a click of a
> button on the ensim control panel. when ensim
> installed tomcat it set the owner and group to "root"
> for most of the directories in $CATALINA_HOME and
> still others in that same directory have owner and
> group set to "tomcat4". for instance:
> 
> /var/tomcat4/bin
> /var/tomcat4/classes
> /var/tomcat4/common
> /var/tomcat4/conf
> /var/tomcat4/lib
> /var/tomcat4/server
> 
> all have owner and group set to "root". the permssions
> for all of the above is drwxr-xr-x.  while:
> 
> /var/tomcat4/logs
> /var/tomcat4/temp
> /var/tomcat4/webapps
> /var/tomcat4/work
> 
> all have their owner and group set to "tomcat4". and
> again, the permssions for all of these is drwxr-xr-x.
> 
> would this potentially cause any problems as far as
> you're aware? what *should* the owner and group be in
> a correct tomcat installation? one obvious problem
> with this - which i've already run into - only root
> can, say, upload jar files to /var/tomcat4/lib.
> doesn't tomcat need to be able to get at
> /var/tomcat4/lib too? don't the above permissions
> forbid tomcat from accessing this directory (and the
> others)? 
> 
> thanks for letting me pick your brains. and thanks in
> advance for your help. take care.
> 

> 


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