[
https://issues.apache.org/jira/browse/HIVE-9474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aihua Xu updated HIVE-9474:
---------------------------
Fix Version/s: 0.15.0
Affects Version/s: (was: 0.15.0)
Status: Patch Available (was: Open)
> 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
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> 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!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)