/usr/local/tomcat doesn't necessarily have to be owned by root.
The only thing you need to so is make sure that whichever user you run
tomcat as has write permissions to the logs, conf and work directories
(those are the only ones Tomcat writes to I think). This doesn't have to
be 'nobody' though. You could create a tomcat or www user for example.
And if you want it to be owned by root, that's fine, just use the group
permissions to set the write access.
A Yang wrote:
>
> Hello All,
>
> Can anyone tell me how to set up directory permissions
> to permit running Tomcat as a non-root user?
>
> According to previous posts in the mailing list, I
> should be using 'su - nobody' when kicking off Tomcat,
> but nobody doesn't have authorities to write to
> usr/local.
>
> What is the best practise for setting up Tomcat?
> /usr/local/tomcat should be owned by Root shouldn't
> it? I'm running Red Hat 6.2.
>
> Thanks,
>
> _______________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.ca address at http://mail.yahoo.ca
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
--
-------------------------------------------
Geoff Lane <[EMAIL PROTECTED]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]