Skip to content

Commit

Permalink
Directory creation in line 86 breaks permissions.
Browse files Browse the repository at this point in the history
Closes PR apache#20.

Thanks to Alexander Dorofeev.
  • Loading branch information
akaspin authored and janl committed May 1, 2012
1 parent bd7509a commit a1d46ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions THANKS
Original file line number Diff line number Diff line change
Expand Up @@ -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.

1 change: 1 addition & 0 deletions etc/init/couchdb.tpl.in
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a1d46ac

Please sign in to comment.