浏览代码

HADOOP-11280. TestWinUtils#testChmod fails after removal of NO_PROPAGATE_INHERIT_ACE. Contributed by Chris Nauroth.

(cherry picked from commit 42bbe3794e4a8edef020e08111dbd7f1058938e2)
(cherry picked from commit a3496b7e01d2c7a928170b94ce0b763e63e64e98)
cnauroth 10 年之前
父节点
当前提交
e398048035

+ 3 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -672,6 +672,9 @@ Release 2.6.0 - UNRELEASED
     HADOOP-11265. Credential and Key Shell Commands not available on Windows.
     (Larry McCay via cnauroth)
 
+    HADOOP-11280. TestWinUtils#testChmod fails after removal of
+    NO_PROPAGATE_INHERIT_ACE. (cnauroth)
+
 Release 2.5.2 - UNRELEASED
 
   INCOMPATIBLE CHANGES

+ 1 - 1
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestWinUtils.java

@@ -371,7 +371,7 @@ public class TestWinUtils {
     testChmodInternalR("a+rX", "rw-r--r--", "rwxr-xr-x");
 
     // Test a new file created in a chmod'ed directory has expected permission
-    testNewFileChmodInternal("-rwx------");
+    testNewFileChmodInternal("-rwxr-xr-x");
   }
 
   private void chown(String userGroup, File file) throws IOException {