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

Allen Wittenauer updated HDFS-452:
----------------------------------

    Labels: newbie  (was: )

> Fs -count throws Access Control Exception when restricted acess directories 
> are present in the user's directory  . 
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-452
>                 URL: https://issues.apache.org/jira/browse/HDFS-452
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.1
>            Reporter: Ravi Phulari
>              Labels: newbie
>
> If there are any directories  with restricted access to user are present  in 
> users directory then fs -count  operation on users directory throws  Access 
> control exception .
> e.g 
> {code}
> [rphulari@some-host ~]$ hadoop fs -ls /user/ | grep rphulari
> drwxr--r--   - rphulari    users            0 2009-06-09 22:05 /user/rphulari
> [rphulari@some-host ~]$ hadoop fs -ls
> Found 3 items
> drwx------   - hdfs     users          0 2009-04-17 01:11 /user/rphulari/temp
> drwxr--r--   - rphulari users          0 2009-05-06 22:02 /user/rphulari/temp2
> -rw-r--r--   3 rphulari users          0 2009-05-06 22:11 /user/rphulari/test
> [rphulari@some-host ~]$ hadoop fs -count /user/rphulari
> count: org.apache.hadoop.security.AccessControlException: Permission denied: 
> user=rphulari, access=READ_EXECUTE, inode="temp":hdfs:users:rwx------
> {code}
> Ideal out put  should be quota information about user owned dir/files and  
> error notification about files/dir which are not owned by user.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to