[ 
https://issues.apache.org/jira/browse/SENTRY-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15009933#comment-15009933
 ] 

Sravya Tirukkovalur commented on SENTRY-964:
--------------------------------------------

Yes Anne, looks like you tried this out with Impala. In which case /tmp/ABC/hh 
is internally being lower cased within Impala. And hence the behavior.

> Need to do case insensitive checks for childURI.implies(parentURI)
> ------------------------------------------------------------------
>
>                 Key: SENTRY-964
>                 URL: https://issues.apache.org/jira/browse/SENTRY-964
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Sravya Tirukkovalur
>            Assignee: Sravya Tirukkovalur
>             Fix For: 1.7.0
>
>         Attachments: SENTRY-964.0.patch
>
>
> Following does not seem to work:
> grant all on URI '*/tmp/ABC*' to role test_sentry;
> create external table test(col int) location '*/tmp/abc/hh*';
> But following seems to work:
> grant all on URI '*/tmp/ABC/hhh*' to role test_sentry;
> create external table test(col int) location '*/tmp/abc/hh*';
> grant all on URI '*/tmp/abc*' to role test_sentry;
> create external table test(col int) location '*/tmp/abc/hh*';



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to