[ https://issues.apache.org/jira/browse/HIVE-9474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aihua Xu updated HIVE-9474: --------------------------- Description: Create a table test(a string); Change the /user/hive/warehouse/test.db/test permission to something else other than the default, like 777. Then truncate table test; The permission goes back to the default. was: I created a test table in beeline : create table test(a string); Permissions: # file: /user/hive/warehouse/test.db/test # owner: aryan # group: hive user::rwx group::rwx other::--x Now, in beeline : truncate table test; Permissions are now : # file: /user/hive/warehouse/test.db/test # owner: aryan # group: hive user::rwx group::r-x other::r-x Group write permissions have disappeared! > truncate table changes permissions on the target > ------------------------------------------------ > > Key: HIVE-9474 > URL: https://issues.apache.org/jira/browse/HIVE-9474 > Project: Hive > Issue Type: Bug > Components: Query Processor > Reporter: Aihua Xu > Assignee: Aihua Xu > Priority: Minor > Fix For: 0.15.0 > > Attachments: HIVE-9474.1.patch > > Original Estimate: 4h > Remaining Estimate: 4h > > Create a table test(a string); > Change the /user/hive/warehouse/test.db/test permission to something else > other than the default, like 777. > Then truncate table test; > The permission goes back to the default. -- This message was sent by Atlassian JIRA (v6.3.4#6332)