You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jing Zhao (JIRA)" <ji...@apache.org> on 2012/09/12 20:43:07 UTC

[jira] [Updated] (HADOOP-8791) rm "Only deletes non empty directory and files."

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

Jing Zhao updated HADOOP-8791:
------------------------------

    Attachment: HADOOP-8791-trunk.patch
                HADOOP-8791-branch-1.patch

So I did the two patches for branch-1 and trunk for Bertrand. Thanks for the finding Bertrand!
                
> rm "Only deletes non empty directory and files."
> ------------------------------------------------
>
>                 Key: HADOOP-8791
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8791
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3
>            Reporter: Bertrand Dechoux
>              Labels: documentation
>         Attachments: HADOOP-8791-branch-1.patch, HADOOP-8791-trunk.patch
>
>
> The documentation (1.0.3) is describing the opposite of what rm does.
> It should be  "Only delete files and empty directories."
> With regards to file, the size of the file should not matter, should it?
> OR I am totally misunderstanding the semantic of this command and I am not the only one.

--
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