You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Adesh Kumar Rao (Jira)" <ji...@apache.org> on 2020/10/09 06:41:00 UTC

[jira] [Assigned] (HIVE-24247) StorageBasedAuthorizationProvider does not look into Hadoop ACL while check for access

     [ https://issues.apache.org/jira/browse/HIVE-24247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adesh Kumar Rao reassigned HIVE-24247:
--------------------------------------


> StorageBasedAuthorizationProvider does not look into Hadoop ACL while check for access
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-24247
>                 URL: https://issues.apache.org/jira/browse/HIVE-24247
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Adesh Kumar Rao
>            Assignee: Adesh Kumar Rao
>            Priority: Minor
>             Fix For: 4.0.0
>
>
> StorageBasedAuthorizationProvider uses
> {noformat}
> FileSystem.access(Path, Action)
> {noformat}
> method to check the access.
> This method gets the FileStatus object and checks access based on that. ACL's are not present in FileStatus.
>  
> Instead, Hive should use
> {noformat}
> FileSystem.get(path.toUri(), conf);
> {noformat}
> {noformat}
> <SpecificFileSystemImplementation>.access(Path, Action)
> {noformat}
> where the implemented file system can do the access checks.



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