You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2012/06/06 18:20:23 UTC

[jira] [Created] (HIVE-3094) new partition files and directories should inherit file permissions from parent partition/table dir

Thejas M Nair created HIVE-3094:
-----------------------------------

             Summary: new partition files and directories should inherit file permissions from parent partition/table dir
                 Key: HIVE-3094
                 URL: https://issues.apache.org/jira/browse/HIVE-3094
             Project: Hive
          Issue Type: Improvement
    Affects Versions: 0.9.0
            Reporter: Thejas M Nair


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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3094) new partition files and directories should inherit file permissions from parent partition/table dir

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-3094:
---------------------------------

    Component/s: Security
                 Authorization
    
> new partition files and directories should inherit file permissions from parent partition/table dir
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-3094
>                 URL: https://issues.apache.org/jira/browse/HIVE-3094
>             Project: Hive
>          Issue Type: Improvement
>          Components: Authorization, Security
>    Affects Versions: 0.9.0
>            Reporter: Thejas M Nair
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira