hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5035) getFileLinkStatus and rename do not correctly check permissions of symlinks
Date Sat, 02 Nov 2013 01:05:17 GMT

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

Colin Patrick McCabe commented on HDFS-5035:
--------------------------------------------

+1

> getFileLinkStatus and rename do not correctly check permissions of symlinks
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-5035
>                 URL: https://issues.apache.org/jira/browse/HDFS-5035
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 3.0.0, 2.1.0-beta
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>             Fix For: 2.3.0
>
>         Attachments: hdfs-5035-1.patch, hdfs-5035-2.patch, hdfs-5035-branch-2-1.patch
>
>
> Operations like getFileLinkStatus and rename operate on symlinks, not symlink targets.
However, permission checks right now are being done on the symlink target, resulting in wonky
behavior.
> This is similar to HDFS-4765, which fixed the same problem for delete.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message