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 80886329F90 for ; Thu, 21 Oct 2004 17:50:52 +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 83301-09 for ; Thu, 21 Oct 2004 16:50:45 +0000 (GMT) Received: from localhost.localdomain (webe.ne.client2.attbi.com [24.61.34.112]) by svr1.postgresql.org (Postfix) with ESMTP id 9ED6C329E7D for ; Thu, 21 Oct 2004 17:50:44 +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 i9LGqHGk016734; Thu, 21 Oct 2004 12:52:17 -0400 Message-ID: <4177E894.4060604@webehosting.biz> Date: Thu, 21 Oct 2004 12:49:24 -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> In-Reply-To: <1098287120.21035.47.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/280 X-Sequence-Number: 15273 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? -Joe >---------------------------(end of broadcast)--------------------------- >TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html > >