[ https://issues.apache.org/jira/browse/HIVE-6891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Szehon Ho updated HIVE-6891: ---------------------------- Description: Found this issue while looking at the method mentioned by HIVE-6648. 'alter table .. partition .. rename to ..' and other commands calling Warehouse.mkdirs() doesn't inherit permission on the partition directories and consequently the data, when "hive.warehouse.subdir.inherit.perms" is set. Also, in these scenarios of directory creation, group is not being inherited. Data files are already inheriting group by HIVE-3756. was: Found this issue while looking at the method mentioned by HIVE-6648. Doing 'alter table .. partition .. rename to ..' does not respect permission inheritance. Also, in these scenarios of directory creation, ownership is not being inherited. Data files are already inheriting owner by HIVE-3756. > Alter rename partition Perm inheritance and general partition/table group > inheritance > ------------------------------------------------------------------------------------- > > Key: HIVE-6891 > URL: https://issues.apache.org/jira/browse/HIVE-6891 > Project: Hive > Issue Type: Bug > Reporter: Szehon Ho > Assignee: Szehon Ho > Attachments: HIVE-6891.2.patch, HIVE-6891.patch > > > Found this issue while looking at the method mentioned by HIVE-6648. > 'alter table .. partition .. rename to ..' and other commands calling > Warehouse.mkdirs() doesn't inherit permission on the partition directories > and consequently the data, when "hive.warehouse.subdir.inherit.perms" is set. > Also, in these scenarios of directory creation, group is not being inherited. > Data files are already inheriting group by HIVE-3756. -- This message was sent by Atlassian JIRA (v6.2#6252)