hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (HIVE-16497) FileUtils. isActionPermittedForFileHierarchy, isOwnerOfFileHierarchy file system operations should be impersonated
Date Wed, 24 Jun 2020 00:27:02 GMT

     [ https://issues.apache.org/jira/browse/HIVE-16497?focusedWorklogId=450113&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-450113
]

ASF GitHub Bot logged work on HIVE-16497:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Jun/20 00:26
            Start Date: 24/Jun/20 00:26
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] closed pull request #171:
URL: https://github.com/apache/hive/pull/171


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 450113)
    Time Spent: 20m  (was: 10m)

> FileUtils. isActionPermittedForFileHierarchy, isOwnerOfFileHierarchy file system operations
should be impersonated
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-16497
>                 URL: https://issues.apache.org/jira/browse/HIVE-16497
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization
>            Reporter: Thejas Nair
>            Assignee: Thejas Nair
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.0.0
>
>         Attachments: HIVE-16497.1.patch, HIVE-16497.2.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> FileUtils.isActionPermittedForFileHierarchy checks if user has permissions for given
action. The checks are made by impersonating the user.
> However, the listing of child dirs are done as the hiveserver2 user. If the hive user
doesn't have permissions on the filesystem, it gives incorrect error that the user doesn't
have permissions to perform the action.
> Impersonating the end user for all file operations in that function is also logically
correct thing to do.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message