----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Marc-Adrian Napoli wrote:
>
> Heya Jean-Luc,
>
> > > > > This sounds all well and good, except for the fact that the JVM runs
> > > things
> > > > > as the user "www" - which doesn't have access to write to the users
> home
> > > > > directory.
> > > > >
> > > > > What happens then? Other than setting the "other" group to have
> write
> > > > > permissions, is there anything else I can do?
> > > > >
> > > > Your JVM is started by Apache, so has the userid found in httpd.conf.
> > > > You can start the JVM by yourself with any userid. (ApJServManal On),
> > > > and just need a script for that.
> > > >
> > > > java -classpath xxx org.apache.jserv.JServ path_of_jserv.properties &
> > >
> > > Yes..the JVM is started by the "bin" user at start time.
> > >
> > > This is no use however... because this person wants to use his .class
> files
> > > to write files to his OWN directory. And seeing as his OWN directory is
> > > owned by him, and not bin, the .class files he right can't write to his
> > > directory.
> > >
> > > How do people get around this?
> > >
> > let this guuy start the JVM manually, with his account.
>
> But you see.. i have OTHER customers that want to use the JVM as well. And
> I'd rather it be run as "www" for them.
>
> Can i safely start two JVM's?
>
Yes. Users will have to use different mount points. (or maybe you could
use mod_rewrite).
Jean-Luc
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]