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 "David Tucker (JIRA)" <ji...@apache.org> on 2017/03/21 18:42:41 UTC

[jira] [Created] (HDFS-11557) Empty directories may be recursively deleted without being listable

David Tucker created HDFS-11557:
-----------------------------------

             Summary: Empty directories may be recursively deleted without being listable
                 Key: HDFS-11557
                 URL: https://issues.apache.org/jira/browse/HDFS-11557
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: hdfs
    Affects Versions: 2.7.3
            Reporter: David Tucker


To reproduce, create a directory without read and/or execute permissions (i.e. 0666, 0333, or 0222), then call delete on it with can_recurse=True. Note that the delete succeeds even though the client is unable to check for emptiness and, therefore, cannot otherwise know that any/all children are deletable.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org