Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Re: [PORTS] Port Bug Report: Grant select to other user removes owner select permission

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: jarreth1(at)airmail(dot)net, PostgreSQL-development <hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Re: [PORTS] Port Bug Report: Grant select to other user removes owner select permission
Date: 1998-03-16 13:15:58
Message-ID: Pine.NEB.3.95.980316081539.16752C-100000@hub.org (view raw or flat)
Thread:
Lists: pgsql-hackers
On Mon, 16 Mar 1998, Bruce Momjian wrote:

> Does anyone want to comment on this?

	Its a bug <- short, Bruce-like comment *grin*


> 
> > 
> > 
> > ============================================================================
> >                         POSTGRESQL BUG REPORT TEMPLATE
> > ============================================================================
> > 
> > 
> > Your name		: Adam Levine
> > Your email address	: jarreth1(at)airmail(dot)net
> > 
> > Category		: runtime: back-end
> > Severity		: non-critical
> > 
> > Summary: Grant select to other user removes owner select permission
> > 
> > System Configuration
> > --------------------
> >   Operating System   : Linux 2.0.33 Elf Slackware
> > 
> >   PostgreSQL version : 6.3
> > 
> >   Compiler used      : gcc 2.7.2
> > 
> > Hardware:
> > ---------
> > 486 PCI, 64M ram
> > 
> > Versions of other tools:
> > ------------------------
> > gmake 3.74
> > 
> > --------------------------------------------------------------------------
> > 
> > Problem Description:
> > --------------------
> > If a user creates a table, and then grants select privs to another user, the owner of the table can no longer select withouth first granting himself select privs.
> > No other permissions testing was done, fyi.
> > 
> > --------------------------------------------------------------------------
> > 
> > Test Case:
> > ----------
> > user1 (in their database) creates table1; user1 selects from table1 (success); user2 selects from table1 (failure); user1 grants select on table1 to user2; user2 selects from table1 (success); user1 selects from table1 (failure);
> > user1 grants select on table1 to user1; user1 selects from table1 (success);
> > 
> > --------------------------------------------------------------------------
> > 
> > Solution:
> > ---------
> > 
> > 
> > --------------------------------------------------------------------------
> > 
> > 
> > 
> 
> 
> -- 
> Bruce Momjian                          |  830 Blythe Avenue
> maillist(at)candle(dot)pha(dot)pa(dot)us              |  Drexel Hill, Pennsylvania 19026
>   +  If your life is a hard drive,     |  (610) 353-9879(w)
>   +  Christ can be your backup.        |  (610) 853-3000(h)
> 


In response to

pgsql-hackers by date

Next:From: Pedro J. LoboDate: 1998-03-16 14:15:31
Subject: Problems testing previous snapshots on alpha
Previous:From: Andrew MartinDate: 1998-03-16 12:48:16
Subject: Re: [HACKERS] Re: [PORTS] Port Bug Report: Grant select to other user removes owner select permission

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group