couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [4/4] git commit: Directory creation in line 86 breaks permissions.
Date Tue, 01 May 2012 12:58:47 GMT
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/a1d46acb
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/a1d46acb
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/a1d46acb

Branch: refs/heads/master
Commit: a1d46acba95b08c96cff5b59770f84588e5e9c6c
Parents: bd7509a
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:55: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/a1d46acb/THANKS
----------------------------------------------------------------------
diff --git a/THANKS b/THANKS
index ddd9ab9..0c0a866 100644
--- a/THANKS
+++ b/THANKS
@@ -94,6 +94,7 @@ suggesting improvements or submitting changes. Some of these people are:
  * Gavin McDonald <gmcdonald@apache.org>
  * Ronny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>
  * 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/a1d46acb/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