couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [1/4] git commit: Directory creation in line 86 breaks permissions.
Date Tue, 01 May 2012 12:58:47 GMT
Updated Branches:
  refs/heads/1.2.x 8d088bbb9 -> 58a9b6f3f
  refs/heads/master bd7509ab0 -> a1d46acba


Directory creation in line 86 breaks permissions.

Closes PR #20.

Thanks to Alexander Dorofeev.


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/58a9b6f3
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/58a9b6f3
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/58a9b6f3

Branch: refs/heads/1.2.x
Commit: 58a9b6f3f4a3ccce87e201de070baf3663823b6a
Parents: d38b75c
Author: Alexander Dorofeev <aka.spin@gmail.com>
Authored: Sun Apr 29 09:54:30 2012 +0600
Committer: Jan Lehnardt <jan@apache.org>
Committed: Tue May 1 13:58:19 2012 +0100

----------------------------------------------------------------------
 THANKS                  |    1 +
 etc/init/couchdb.tpl.in |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/58a9b6f3/THANKS
----------------------------------------------------------------------
diff --git a/THANKS b/THANKS
index 8901eb5..929fea2 100644
--- a/THANKS
+++ b/THANKS
@@ -90,5 +90,6 @@ suggesting improvements or submitting changes. Some of these people are:
  * Omar Yasin <omarkj@gmail.com>
  * RogutÄ—s Sparnuotos <rogutes@googlemail.com>
  * Magnus Hoff <maghoff@gmail.com>
+ * Alexander Dorofeev <aka.spin@gmail.com>
 
 For a list of authors see the `AUTHORS` file.

http://git-wip-us.apache.org/repos/asf/couchdb/blob/58a9b6f3/etc/init/couchdb.tpl.in
----------------------------------------------------------------------
diff --git a/etc/init/couchdb.tpl.in b/etc/init/couchdb.tpl.in
index e4930e0..173efa3 100644
--- a/etc/init/couchdb.tpl.in
+++ b/etc/init/couchdb.tpl.in
@@ -84,6 +84,7 @@ start_couchdb () {
     # Start Apache CouchDB as a background process.
 
     mkdir -p "$RUN_DIR"
+    chown $COUCHDB_USER "$RUN_DIR"
     command="$COUCHDB -b"
     if test -n "$COUCHDB_STDOUT_FILE"; then
         command="$command -o $COUCHDB_STDOUT_FILE"


Mime
View raw message