Hive
  1. Hive
  2. HIVE-6093

table creation should fail when user does not have permissions on db

    Details

    • Release Note:
      One cannot create table (whether or not they provide a LOCATION) if they do not have WRITE permission on the database directory.

      Description

      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.

      1. HIVE-6093.patch
        2 kB
        Thiruvel Thirumoolan
      2. HIVE-6093-1.patch
        4 kB
        Thiruvel Thirumoolan
      3. HIVE-6093.1.patch
        4 kB
        Thejas M Nair
      4. HIVE-6093.1.patch
        4 kB
        Thejas M Nair

        Activity

          People

          • Assignee:
            Thiruvel Thirumoolan
            Reporter:
            Thiruvel Thirumoolan
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development