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 "XieXianshan (JIRA)" <ji...@apache.org> on 2011/09/02 12:18:09 UTC
[jira] [Commented] (HADOOP-7597) dfs -chmod does not work as
expected
[ https://issues.apache.org/jira/browse/HADOOP-7597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095901#comment-13095901 ]
XieXianshan commented on HADOOP-7597:
-------------------------------------
Thanks for your comment.Daryn.
Yes,you're right.I misunderstood the meaning of that command.
> dfs -chmod does not work as expected
> ------------------------------------
>
> Key: HADOOP-7597
> URL: https://issues.apache.org/jira/browse/HADOOP-7597
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.24.0
> Reporter: XieXianshan
> Assignee: XieXianshan
> Priority: Trivial
> Fix For: 0.24.0
>
> Attachments: HADOOP-7597.patch
>
>
> The operator "=" of chmod should have the top priority,i.e,the rest operators should be omitted if the first operator is "=".
> For example:
> # hdfs dfs -ls /user/
> dr--r--r-- - root supergroup 0 2011-08-31 19:42 /user/hadoop
> # hdfs dfs -chmod =+w /user/hadoop
> # hdfs dfs -ls /user/
> d-w--w--w- - root supergroup 0 2011-08-31 19:42 /user/hadoop
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira