X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id B75E59DD612 for ; Tue, 29 Nov 2005 20:42:01 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 00615-06-4 for ; Tue, 29 Nov 2005 20:42:01 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 331C89DD447 for ; Tue, 29 Nov 2005 20:21:28 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id jAU0LVce011393; Tue, 29 Nov 2005 19:21:31 -0500 (EST) To: Dan Tenenbaum cc: pgsql-admin@postgresql.org Subject: Re: the "users" group and restricting privileges In-reply-to: <65029d820511291530mc4a0f62nc1de5cf58d110765@mail.gmail.com> References: <65029d820511291530mc4a0f62nc1de5cf58d110765@mail.gmail.com> Comments: In-reply-to Dan Tenenbaum message dated "Tue, 29 Nov 2005 15:30:33 -0800" Date: Tue, 29 Nov 2005 19:21:31 -0500 Message-ID: <11392.1133310091@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.004 required=5 tests=[AWL=0.004] X-Spam-Score: 0.004 X-Spam-Level: X-Archive-Number: 200511/339 X-Sequence-Number: 19712 Dan Tenenbaum writes: > ERROR: permission denied for schema myschema > What do I need to do to get the correct permissions? GRANT USAGE ON SCHEMA myschema TO whoever Schema access is comparable to directory access in a filesystem: if you can't look into the directory, it doesn't matter what privileges you might have for the individual files in it. regards, tom lane