Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4B116200B96 for ; Thu, 6 Oct 2016 16:48:55 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 49B7E160AAD; Thu, 6 Oct 2016 14:48:55 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8BE2C160AC6 for ; Thu, 6 Oct 2016 16:48:54 +0200 (CEST) Received: (qmail 11873 invoked by uid 500); 6 Oct 2016 14:48:53 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 11861 invoked by uid 99); 6 Oct 2016 14:48:53 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2016 14:48:53 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8B75EE0061; Thu, 6 Oct 2016 14:48:53 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: wohali@apache.org To: commits@couchdb.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: documentation commit: updated refs/heads/master to d0b3f59 Date: Thu, 6 Oct 2016 14:48:53 +0000 (UTC) archived-at: Thu, 06 Oct 2016 14:48:55 -0000 Repository: couchdb-documentation Updated Branches: refs/heads/master 8898e51ca -> d0b3f5940 Set home directory for couchdb user correctly Project: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/commit/d0b3f594 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/tree/d0b3f594 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/diff/d0b3f594 Branch: refs/heads/master Commit: d0b3f5940337caf17be9d87f20888692eb1d6602 Parents: 8898e51 Author: Joan Touzet Authored: Thu Oct 6 10:48:29 2016 -0400 Committer: Joan Touzet Committed: Thu Oct 6 10:48:29 2016 -0400 ---------------------------------------------------------------------- src/install/unix.rst | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-documentation/blob/d0b3f594/src/install/unix.rst ---------------------------------------------------------------------- diff --git a/src/install/unix.rst b/src/install/unix.rst index ca646d5..ed617f3 100644 --- a/src/install/unix.rst +++ b/src/install/unix.rst @@ -159,7 +159,6 @@ You should create a special ``couchdb`` user for CouchDB. On many Unix-like systems you can run:: adduser --system \ - --no-create-home \ --shell /bin/bash \ --group --gecos \ "CouchDB Administrator" couchdb @@ -170,19 +169,18 @@ site to find the documentation appropriate for your system. As of recent versions of OS X, this functionality is also included in Server.app, available through the App Store only as part of OS X Server. -You must make sure that: - -* The user has a working POSIX shell -* The user's home directory is wherever you have copied the release. - As a recommendation, copy the ``rel/couchdb`` directory into - ``/home/couchdb`` or ``/Users/couchdb``. +You must make sure that the user has a working POSIX shell and a writable +home directory. You can test this by: * Trying to log in as the ``couchdb`` user * Running ``pwd`` and checking the present working directory -Copy the built couchdb release to the new user's home directory:: +As a recommendation, copy the ``rel/couchdb`` directory into +``/home/couchdb`` or ``/Users/couchdb``. + +Ex: copy the built couchdb release to the new user's home directory:: cp -R /path/to/couchdb/rel/couchdb /home/couchdb