Sfoglia il codice sorgente

commit 906e30db644a7a3da8e147c605c16f710c14a1f6
Author: Arun C Murthy <acmurthy@apache.org>
Date: Sun Oct 18 23:21:37 2009 -0700

MAPREDUCE:1088 from https://issues.apache.org/jira/secure/attachment/12422526/MAPREDUCE-1088_yhadoop20.patch

+++ b/YAHOO-CHANGES.txt
+ MAPREDUCE-1088. Changed permissions on JobHistory files on local disk to
+ 0744. Contributed by Arun C. Murthy.
+


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-patches@1077024 13f79535-47bb-0310-9956-ffa450edef68

Owen O'Malley 14 anni fa
parent
commit
f9aeabb56a
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/mapred/org/apache/hadoop/mapred/JobHistory.java

+ 2 - 2
src/mapred/org/apache/hadoop/mapred/JobHistory.java

@@ -103,9 +103,9 @@ public class JobHistory {
   private static String jobtrackerHostname;
   private static JobHistoryFilesManager fileManager = null;
   final static FsPermission HISTORY_DIR_PERMISSION =
-    FsPermission.createImmutable((short) 0750); // rwxr-x---
+    FsPermission.createImmutable((short) 0755); // rwxr-xr-x
   final static FsPermission HISTORY_FILE_PERMISSION =
-    FsPermission.createImmutable((short) 0740); // rwxr-----
+    FsPermission.createImmutable((short) 0744); // rwxr--r--
   private static FileSystem LOGDIR_FS; // log dir filesystem
   private static FileSystem DONEDIR_FS; // Done dir filesystem
   private static JobConf jtConf;