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

Thejas M Nair commented on HDFS-9019:
-------------------------------------


Above exception should include 3 more things for ease of debugging - 
 parent.getUserName() ,  inode.getUserName() and parent.

Sometimes the files get deleted before debugging can happen, so printing the 
file usernames(owner name) also helps

> sticky bit permission denied error not informative enough
> ---------------------------------------------------------
>
>                 Key: HDFS-9019
>                 URL: https://issues.apache.org/jira/browse/HDFS-9019
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.6.0, 2.7.0, 2.7.1
>            Reporter: Thejas M Nair
>              Labels: easyfix, newbie
>
> The check for sticky bit permission in FSPermissionChecker.java prints only 
> the child file name and the current owner.
> It does not print the owner of the file and the parent directory. It would 
> help to have that printed as well for ease of debugging permission issues.



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

Reply via email to