pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Timothy Morris <tdmorris@med.umich.edu>
To: Pgsql-admin@postgresql.org
Subject: can't read - permissions error (13)
Date: Wed, 28 Mar 2001 13:43:07 -0500
Message-ID: <sac1ea90.094@mail-02.med.umich.edu> (raw)

Greetings,

My office installation, Mandrake 7.1 /  python 1.5.2 / pq 7.0.2 works great.

At home, Mandrake 7.2 / same python and pg gives a permissions error  of backend cannot  COPY
due to permissions error (13).

I tried all combinations of adding postgres to my group / adding me to postgres group and setting my /home ... to group postgres.

Still no joy.  If I cp the files I want to import to /home/postgres/data, it will read them.

The only differences that I can find between the two machines is that  in the office, all appropriate processes run as postgres with UID = 28.

At home there is one process "dip" that runs as UID 40, other postgres related processes run as postgres with uid=40.

Does any one know what "dip'" is and why it had the same uid as postgres?

When I  "\i"  in psql, the file that contains my sql creates, grants,  etc. works fine from my home directory until it hits the COPY ... FROM instruction.

The sql and text data files are identical home and work as are the directory structures.  

Please ... any other things to try?





Timothy D. Morris, MS
Department of Family Medicine
tdmorris@med.umich.edu
voice 734 998-7120 x 339
page 734 670-1366
Linux is like a TeePee -  No Windows, No Gates, Apache Inside.




view thread (2+ messages)  latest in thread

Message-ID: <sac1ea90.094@mail-02.med.umich.edu>
Permalink:  ../sac1ea90.094@mail-02.med.umich.edu/
Also on:    postgresql.org/message-id/sac1ea90.094@mail-02.med.umich.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tdmorris@med.umich.edu
  Subject: Re: can't read - permissions error (13)
  In-Reply-To: <sac1ea90.094@mail-02.med.umich.edu>
  References: <sac1ea90.094@mail-02.med.umich.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox