Re: Permission Denied

From: "Marcus Andree S(dot) Magalhaes" <marcus(dot)magalhaes(at)vlinfo(dot)com(dot)br>
To: pcampaigne <pcampaigne(at)charter(dot)net>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Permission Denied
Date: 2003-03-13 15:35:56
Message-ID: 1047569756.3e70a55c8a1dd@webmail.vlinfo.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


I'm having problems with Postgres and JDBC. When connecting from root, using
JDBC,
the user can't authenticate against the database. But, when running a norma.
user, everything works flawlessly... The PATH and CLASSPATH environment
variables are exactly the same... Any ideas??

Thanks

Quoting pcampaigne <pcampaigne(at)charter(dot)net>:

> I'm using jdbc to connect tomcat to postgresql. I get "permission denied"
> when my application tries to acces the database files.
> "/usr/local/pgsql/data/global/1262"
> I think I need to change the linux directory permission, but to who?
> ...postgres
> ...the database user
> 1. Which one? Should directory permission match the database username and
> password in the jdbc connection code?
> 2. Do I set permissions using chown and chgrp?
> 3. Set permission for just 1262 or all in the global directory? or of the
> path?
>
> thanks,
> Phil
>
>

-------------------------------
http://www.vlinfo.com.br

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Joe Conway 2003-03-13 15:37:42 Re: CHECK constraint
Previous Message Joe Conway 2003-03-13 15:24:40 Re: looking up members of a group