Hive
  1. Hive
  2. HIVE-3094

new partition files and directories should inherit file permissions from parent partition/table dir

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 0.9.0
    • Fix Version/s: None
    • Component/s: Authorization, Security
    • Labels:
      None

      Description

      In HIVE-2936 changes were made for warehouse table sub directories to inherit the permissions from parent directory. But this applies only to directories created by metastore.
      When directories (in case of dynamic partitioning) or files are created from the MR job, it uses the default
      But new partition files or directories created from the MR jobs don't inherit the permissions.
      This means that even if the permissions have been granted on table directory for a group, the group will not have permissions on the new partitions.

        Issue Links

          Activity

          Hide
          Chaoyu Tang added a comment -

          see patch in HIVE-3756

          Show
          Chaoyu Tang added a comment - see patch in HIVE-3756
          Hide
          Sushanth Sowmyan added a comment -

          Marking as duplicate of HIVE-3756, that solves the issue mentioned here.

          Show
          Sushanth Sowmyan added a comment - Marking as duplicate of HIVE-3756 , that solves the issue mentioned here.

            People

            • Assignee:
              Chaoyu Tang
              Reporter:
              Thejas M Nair
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development