hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5035) getFileLinkStatus and rename do not correctly check permissions of symlinks
Date Fri, 26 Jul 2013 02:57:48 GMT

     [ https://issues.apache.org/jira/browse/HDFS-5035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Wang updated HDFS-5035:
------------------------------

    Attachment: hdfs-5035-1.patch

Patch attached, pretty simple impl since it reuses what I did for HDFS-4765.

I think that's it for operations that operate directly on symlinks (delete, stat, rename are
now covered), but if anyone can think of anymore, we can fold them into this patch also.
                
> 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
>         Attachments: hdfs-5035-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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message