You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "chuanjie.duan (JIRA)" <ji...@apache.org> on 2018/03/02 09:57:00 UTC

[jira] [Commented] (RANGER-1992) Ranger Read Wrong INode Information

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

chuanjie.duan commented on RANGER-1992:
---------------------------------------

Because of checkDefaultEnforcer would call FSPermissionChecker, but the last inodeAttrs is /user/hive/warehouse/dataswap.db so check failed.

 

> Ranger Read Wrong INode Information
> -----------------------------------
>
>                 Key: RANGER-1992
>                 URL: https://issues.apache.org/jira/browse/RANGER-1992
>             Project: Ranger
>          Issue Type: Bug
>          Components: plugins
>            Reporter: chuanjie.duan
>            Priority: Major
>
> hdfs dfs -ls /user/hive/warehouse/dataswap.db/
> drwxrwx--   --    cim_beta_db dataswap          0 2018-02-26 09:49 /user/hive/warehouse/dataswap.db/test
>  
> hdfs dfs -ls /user/hive/warehouse/dataswap.db/test
> ls: Permission denied: user=cim_beta_db, access=EXECUTE, inode="/user/hive/warehouse/dataswap.db/test":{color:#ff0000}dataswap{color}:dataswap:drwxrwx---
>  
> user should be cim_beta_db, maybe it's a hdfs bug



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)