You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Ramya R (JIRA)" <ji...@apache.org> on 2009/06/26 19:17:47 UTC

[jira] Created: (HADOOP-6113) AccessControlException should display the full path

AccessControlException should display the full path
---------------------------------------------------

                 Key: HADOOP-6113
                 URL: https://issues.apache.org/jira/browse/HADOOP-6113
             Project: Hadoop Common
          Issue Type: Improvement
          Components: fs
            Reporter: Ramya R
            Priority: Minor


org.apache.hadoop.security.AccessControlException should display the full path for which the access is denied. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6113) AccessControlException should display the full path

Posted by "Ramya R (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724618#action_12724618 ] 

Ramya R commented on HADOOP-6113:
---------------------------------

For example, When user 'A' tries to write under user B's home location. It throws the following exception:
org.apache.hadoop.security.AccessControlException: Permission denied: user=A, access=WRITE, inode="B":B:supergroup:rwxr-xr-x
Instead, it would be helpful if the exception read:
org.apache.hadoop.security.AccessControlException: Permission denied: user=A, access=WRITE, inode="/user/B":B:supergroup:drwxr-xr-x
This is because, if there are many directories with the same name under different paths, it becomes difficult to figure out the exact directory for which the access was denied.
Also when the permission(in this case rwxr-xr-x) is displayed, it should also show whether it is a directory or not(i.e. it should show drwxr-xr-x). Currently this does not happen. Hence, in cases where the same name is used for a directory and a file , the user is not sure if access is denied to a file or a directory.

> AccessControlException should display the full path
> ---------------------------------------------------
>
>                 Key: HADOOP-6113
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6113
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Ramya R
>            Priority: Minor
>
> org.apache.hadoop.security.AccessControlException should display the full path for which the access is denied. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.