You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2015/01/27 01:33:34 UTC

[jira] [Created] (HIVE-9474) truncate table changes permissions on the target

Aihua Xu created HIVE-9474:
------------------------------

             Summary: 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
    Affects Versions: 0.15.0
            Reporter: Aihua Xu
            Assignee: Aihua Xu
            Priority: Minor


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)