permissions

From: tony <tony(at)animaproductions(dot)com>
To: postgres list <pgsql-general(at)postgresql(dot)org>
Subject: permissions
Date: 2002-02-23 12:41:00
Message-ID: 1014468060.5319.19.camel@vaio
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

The scene: Tony re-writing his HOWTO

The players: Tomcat4, Postgresql 7.2

The plot: writing to page the definitive guide on file permissions so
that Tomcat can talk to Postgresql via JDBC.

All that in place - the install on my development machine gives the
following result:

- I can read fronm the database. The web app functions perfectly and
with Tomcat4/Postgresql 7.2 much faster (no benchmarks, just human
"feels snappier")

- when I try to login to the administration pages I get chucked out...
javax.servlet.ServletException: Connection refused. Check that the
hostname and port is correct, and that the postmaster is running with
the -i flag, which enables TCP/IP networking.

YES IT IS FOR PETES SAKE!!!!!!

My question for the weekend is "what files/applications should have what
read/write permissions?".

In fact I feel that this is a much wider Unix/Linux question which is
one of the major problems for newcomers. I am not (a newcomer) but have
had trouble (coming from the Mac) understanding what is what since
1997...

We have three users: tony (thats me =;-{ ), postgres and tomcat4. tony
is via JDBC trying to send a login/password combination via JSP to
tomcat4. tomcat4 is validating the password against a table in
postgresql and getting the errror above.

tomcat doesn't have (decent) docs (now you know why I wrote a HOWTO)
postgresql has good docs (If I said "great" you would get sloppy...).
But there is no place where it is written in stone who should own what.

help

Cheers

Tony

--
RedHat Linux on Sony Vaio C1XD/S
http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Doug McNaught 2002-02-23 14:06:29 Re: permissions
Previous Message Jeff Davis 2002-02-23 12:26:23 Re: game db