FAQ
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.

Search Discussions

  • Ramya R (JIRA) at Jun 26, 2009 at 5:36 pm
    [ 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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedJun 26, '09 at 5:17p
activeJun 26, '09 at 5:36p
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Ramya R (JIRA): 2 posts

People

Translate

site design / logo © 2022 Grokbase