pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vladimir V. Zolotych <gsmith@eurocom.od.ua>
To: pgsql-admin@postgresql.org
Subject: GRANT bug
Date: Thu, 13 Apr 2000 16:06:35 +0400
Message-ID: <38F5B84A.832D4917@eurocom.od.ua> (raw)

  Please help!

Cannot GRANT SELECT access on table to other user.

I do the following:

1) Create database with the name foo,
2) Create table bar,
3) SELECT * FROM bar
4) GRANT SELECT on bar TO dmr
5) Login as user dmr (properly added as Postgres user),
5) SELECT * from bar;
    ......
    (1 row)
    The table is readable for dmr,
6) Login as database (foo) and table (bar) creator,
7) SELECT * FROM bar;
    ERROR: bar: Permission denied.

Can anybody help?
How can I GRANT SELECT access to my table to another user
no losing access to table for myself?





view thread (2+ messages)  latest in thread

Message-ID: <38F5B84A.832D4917@eurocom.od.ua>
Permalink:  ../38F5B84A.832D4917@eurocom.od.ua/
Also on:    postgresql.org/message-id/38F5B84A.832D4917@eurocom.od.ua

 · 

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: gsmith@eurocom.od.ua
  Subject: Re: GRANT bug
  In-Reply-To: <38F5B84A.832D4917@eurocom.od.ua>
  References: <38F5B84A.832D4917@eurocom.od.ua>

* 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