Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7597

dfs -chmod does not work as expected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Not A Problem
    • 0.24.0
    • None
    • fs
    • None

    Description

      The operator "=" of chmod should have the top priority,i.e,the rest operators should be omitted if the first operator is "=".
      For example:

      1. hdfs dfs -ls /user/
        dr-rr- - root supergroup 0 2011-08-31 19:42 /user/hadoop
      2. hdfs dfs -chmod =+w /user/hadoop
      3. hdfs dfs -ls /user/
        d-w-ww - root supergroup 0 2011-08-31 19:42 /user/hadoop

      Attachments

        1. HADOOP-7597.patch
          0.8 kB
          XieXianshan

        Activity

          People

            xiexianshan XieXianshan
            xiexianshan XieXianshan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: