You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "XieXianshan (JIRA)" <ji...@apache.org> on 2011/08/31 15:22:09 UTC

[jira] [Created] (HADOOP-7597) dfs -chmod does not work as expected

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


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