You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2013/11/02 01:59:17 UTC
[jira] [Reopened] (HDFS-5035) getFileLinkStatus and rename do not
correctly check permissions of symlinks
[ https://issues.apache.org/jira/browse/HDFS-5035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Wang reopened HDFS-5035:
-------------------------------
Re-opening to backport to branch-2.2.
> 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
>
>
> 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)