[Groonga-commit] droonga/droonga-http-server at 291a4b1 [master] Set file readable for others

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Sep 25 19:32:35 JST 2014


YUKI Hiroshi	2014-09-25 19:32:35 +0900 (Thu, 25 Sep 2014)

  New Revision: 291a4b1bf636b4716f8b30682f0c30503b68722e
  https://github.com/droonga/droonga-http-server/commit/291a4b1bf636b4716f8b30682f0c30503b68722e

  Message:
    Set file readable for others

  Modified files:
    bin/droonga-http-server-configure

  Modified: bin/droonga-http-server-configure (+8 -5)
===================================================================
--- bin/droonga-http-server-configure    2014-09-25 19:19:57 +0900 (1affb8e)
+++ bin/droonga-http-server-configure    2014-09-25 19:32:35 +0900 (3fdaeb8)
@@ -315,11 +315,14 @@ function writeNewConfigs() {
           return reject(error);
         var path = configFilePathSync();
         fs.chownSync(path, uid, gid);
-        chmod(path, { group: { read: true }}, function(error) {
-          if (error)
-            return reject(error);
-          resolve();
-        });
+        chmod(path,
+              { group:  { read: true },
+                others: { read: true }},
+              function(error) {
+                if (error)
+                  return reject(error);
+                resolve();
+              });
       });
     }
     else {
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index