You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thiruvel Thirumoolan (JIRA)" <ji...@apache.org> on 2013/12/20 23:20:09 UTC

[jira] [Created] (HIVE-6093) table creation should fail when user does not have permissions on db

Thiruvel Thirumoolan created HIVE-6093:
------------------------------------------

             Summary: table creation should fail when user does not have permissions on db
                 Key: HIVE-6093
                 URL: https://issues.apache.org/jira/browse/HIVE-6093
             Project: Hive
          Issue Type: Bug
          Components: Authorization, HCatalog, Metastore
            Reporter: Thiruvel Thirumoolan
            Priority: Minor


Its possible to create a table under a database where the user does not have write permission. It can be done by specifying a LOCATION where the user has write access (say /tmp/foo). This should be restricted.

HdfsAuthorizationProvider (which typically runs on client) checks the database directory during table creation. But StorageBasedAuthorizationProvider does not.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)