[
https://issues.apache.org/jira/browse/HDFS-15841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17287449#comment-17287449
]
Yang Yun commented on HDFS-15841:
---------------------------------
Thanks [~ayushtkn] for your comment.
There are some small diffrents with protected directories,
* protected directories forbids deleting some directories; force2trash can
delete but to trash for regretting.
* protected directories is from server side, the admin can set some protected
directories; force2trash is from client side, any user can has his special
setting for any file/folder.
> Use xattr to support delete file to trash by forced for important folder
> ------------------------------------------------------------------------
>
> Key: HDFS-15841
> URL: https://issues.apache.org/jira/browse/HDFS-15841
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Yang Yun
> Assignee: Yang Yun
> Priority: Minor
> Attachments: HDFS-15841.001.patch
>
>
> Deletion is a dangerous operation.
> If a folder has xattr 'user.force2trash', any deletion of this folder and
> it's sub file/folder will be moved to trash by forced.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]