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 02:09:20 UTC
[jira] [Resolved] (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 resolved HDFS-5035.
-------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.3.0)
2.2.1
Thanks colin, committed to branch-2.2 and I updated CHANGES.txt in trunk and branch-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.2.1
>
> 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)