From: nobuyuki yoshida <nob-yoshida@fissc.co.jp>
To: pgsql-bugs@postgresql.org
Subject: BUG #5788: I can drop table , with other user's table
Date: Fri, 10 Dec 2010 02:41:38 GMT
Message-ID: <201012100241.oBA2fcSN090343@wwwmaster.postgresql.org> (raw)
The following bug has been logged online:
Bug reference: 5788
Logged by: nobuyuki yoshida
Email address: nob-yoshida@fissc.co.jp
PostgreSQL version: 8.4.5
Operating system: centos 5.5
Description: I can drop table , with other user's table
Details:
Hi. I found a bug:I can drop a table with not owner user.
Document says "Only its owner can drop a table.", but a fuct is not so.
Here is steps to reproduce:
1. command with postgres on psql
create schema scm_test;
create user scm_test;
alter schema scm_test owner to scm_test;
create table scm_test.test (id char(10));
2. command with scm_test on psql
drop table test;
Then, success drop user postgres's table with user scm_test!
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-bugs@postgresql.org
Cc: nob-yoshida@fissc.co.jp
Subject: Re: BUG #5788: I can drop table , with other user's table
In-Reply-To: <201012100241.oBA2fcSN090343@wwwmaster.postgresql.org>
References: <201012100241.oBA2fcSN090343@wwwmaster.postgresql.org>
* 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