You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Yayu Wang (Jira)" <ji...@apache.org> on 2021/11/28 17:15:00 UTC

[jira] [Created] (HDFS-16360) Adding confirm prompt when removing root directory on local filesystem

Yayu Wang created HDFS-16360:
--------------------------------

             Summary: Adding confirm prompt when removing root directory on local filesystem
                 Key: HDFS-16360
                 URL: https://issues.apache.org/jira/browse/HDFS-16360
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Yayu Wang


Would you like to add a confirm prompt when removing the root directory, especially when using local filesystem? I forgot to set fs.defaultFS and executed `rm -r /*` and it deleted everything on my local system. I lost everything under my $HOME directory, and I think a sudo user may destroy the host by doing so.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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