X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id AC49F32A481 for ; Fri, 22 Oct 2004 14:14:15 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 12330-09 for ; Fri, 22 Oct 2004 13:13:59 +0000 (GMT) Received: from localhost.localdomain (webe.ne.client2.attbi.com [24.61.34.112]) by svr1.postgresql.org (Postfix) with ESMTP id B037F32A2E2 for ; Fri, 22 Oct 2004 14:14:05 +0100 (BST) Received: from [172.31.1.121] (klopfer.mazunetworks.com [4.19.249.110]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id i9MDFhGk017447; Fri, 22 Oct 2004 09:15:44 -0400 Message-ID: <41790751.2010803@webehosting.biz> Date: Fri, 22 Oct 2004 09:12:49 -0400 From: Joe Maldonado User-Agent: Mozilla Thunderbird 0.8 (X11/20040930) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Scott Marlowe Cc: pgsql-admin@postgresql.org Subject: Re: REVOKE not working... References: <41767366.7040305@webehosting.biz> <1098287120.21035.47.camel@localhost.localdomain> <4177E894.4060604@webehosting.biz> <1098389182.21035.72.camel@localhost.localdomain> In-Reply-To: <1098389182.21035.72.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/304 X-Sequence-Number: 15297 Scott Marlowe wrote: >On Thu, 2004-10-21 at 10:49, Joe Maldonado wrote: > > >>Scott Marlowe wrote: >> >> >> >>>On Wed, 2004-10-20 at 08:17, Joe Maldonado wrote: >>> >>> >>> >>> >>>>Hello all, >>>> I have created users for which I have restricted access to SELECT >>>> >>>> >>>>from a set of tables, this works :) >>> >>> >>>> But when I issue a REVOKE CREATE ON DATABASE mydb FROM myuser; >>>>The user can still create tables...I've also issued this command for the >>>>SCHEMA and still no go. >>>> >>>>Is this a known problem, if so how can I restrict users from creating >>>>objects in my db? >>>> >>>> >>>> >>>> >>>Is myuser a superuser? If so, you can revoke all you want and he'll >>>still be able to do anything he wants. Also, I think that if myuser >>>owns the current database he can always create tables in it. >>> >>> >>> >>> >>> >>> >>myuser is not a superuser. is the public schema special in that you >>cannot revoke create privileges from users accessing it? >> >> > >Is myuser the creator of the database in question? > > >---------------------------(end of broadcast)--------------------------- >TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > > Nope. -Joe