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

(cherry picked from commit 42bbe3794e)
(cherry picked from commit a3496b7e01)
This commit is contained in:
cnauroth 2014-11-07 00:02:17 -08:00
parent 92337e1dce
commit e398048035
2 changed files with 4 additions and 1 deletions

View File

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

View File

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