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

Íñigo Goiri commented on HDFS-14085:
------------------------------------

Internally, the mount point is not a folder and we have to map it to something 
that looks like a folder when we do {{ls}}.
The current implementation in the HDFS-13891 branch is that the mount point 
shows up as a folder with the user, group, and permissions from the mount point 
in the table.
I think conceptually this is correct for the user and the group.
I agree that the permissions are kind of confusing; if we were able to do move 
and delete for those folders we could keep the current syntax.
However, we currently only allow this through the dfsrouteradmin, so no point 
on showing them this way.
(At some point, we may want to do some admin ops like mv, chown, and rm through 
the ClientProtocol interface.)

Given that, I would propose to just show those folders as r-xr-xr-x.
I would keep the user/group as is right now.
In addition, we may want to add a xattr with something that indicates this is a 
mount point.


> RBF: LS command for root shows wrong owner and permission information.
> ----------------------------------------------------------------------
>
>                 Key: HDFS-14085
>                 URL: https://issues.apache.org/jira/browse/HDFS-14085
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>
> The LS command for / lists all the mount entries but the permission displayed 
> is the default permission (777) and the owner and group info same as that of 
> the user calling it; Which actually should be the same as that of the 
> destination of the mount point.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to