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 "liuyanyu (Jira)" <ji...@apache.org> on 2020/03/26 09:40:00 UTC

[jira] [Created] (HDFS-15243) Child directory should not be deleted or renamed if parent directory is a protected directory

liuyanyu created HDFS-15243:
-------------------------------

             Summary: Child directory should not be deleted or renamed if parent directory is a protected directory
                 Key: HDFS-15243
                 URL: https://issues.apache.org/jira/browse/HDFS-15243
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: 3.1.1
    Affects Versions: 3.1.1
            Reporter: liuyanyu


HDFS-8983 add  fs.protected.directories to support protected directories on NameNode.  But as I test, when set a parent directory(eg /testA)  to protected directory, the child directory (eg /testA/testB) still can be deleted or renamed. When we protect a directory  mainly for protecting the data under this directory , So I think the child directory should not be delete or renamed if the parent directory is a protected directory.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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