Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4C9FB118D2 for ; Tue, 2 Sep 2014 23:51:52 +0000 (UTC) Received: (qmail 82351 invoked by uid 500); 2 Sep 2014 23:51:51 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 82216 invoked by uid 500); 2 Sep 2014 23:51:51 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 82127 invoked by uid 500); 2 Sep 2014 23:51:51 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 82123 invoked by uid 99); 2 Sep 2014 23:51:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2014 23:51:51 +0000 Date: Tue, 2 Sep 2014 23:51:51 +0000 (UTC) From: "Ashu Pachauri (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-7943) hive.security.authorization.createtable.owner.grants is ineffective with Default Authorization MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-7943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashu Pachauri updated HIVE-7943: -------------------------------- Attachment: HIVE-7943.1.patch > hive.security.authorization.createtable.owner.grants is ineffective with Default Authorization > ---------------------------------------------------------------------------------------------- > > Key: HIVE-7943 > URL: https://issues.apache.org/jira/browse/HIVE-7943 > Project: Hive > Issue Type: Bug > Components: Authorization > Affects Versions: 0.13.1 > Reporter: Ashu Pachauri > Attachments: HIVE-7943.1.patch > > > HIVE-6250 separates owner privileges from user privileges. However, Default Authorization does not adapt to the change and table owners do not inherit permissions from the config. > Steps to Reproduce: > set hive.security.authorization.enabled=true; > set hive.security.authorization.createtable.owner.grants=ALL; > create table temp_table(id int, value string); > drop table temp_table; > Above set of operations throw the following error: > > Authorization failed:No privilege 'Drop' found for outputs { database:default, table:temp_table}. Use SHOW GRANT to get more details. > 14/09/02 17:49:38 ERROR ql.Driver: Authorization failed:No privilege 'Drop' found for outputs { database:default, table:temp_table}. Use SHOW GRANT to get more details. -- This message was sent by Atlassian JIRA (v6.3.4#6332)