Adesh Kumar Rao created HIVE-24247:
--------------------------------------

             Summary: 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
             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)

Reply via email to