From 42bbe3794e4a8edef020e08111dbd7f1058938e2 Mon Sep 17 00:00:00 2001 From: cnauroth Date: Fri, 7 Nov 2014 00:02:17 -0800 Subject: [PATCH] HADOOP-11280. TestWinUtils#testChmod fails after removal of NO_PROPAGATE_INHERIT_ACE. Contributed by Chris Nauroth. --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../src/test/java/org/apache/hadoop/util/TestWinUtils.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 8587f1297e..0192560a1d 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -1083,6 +1083,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 diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestWinUtils.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestWinUtils.java index 953039d937..2d4e442046 100644 --- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestWinUtils.java +++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestWinUtils.java @@ -371,7 +371,7 @@ public void testChmod() throws IOException { 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 {