summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@apache.org>2013-05-21 21:47:37 +0200
committerDirkjan Ochtman <djc@apache.org>2013-05-21 21:47:37 +0200
commita323af6c8fe5d6181e96faa7b7eabf202047c28c (patch)
tree09e87982591cff4eeed765a30e258a43a07108f2
parent5af1f1ea46e6856c22904c6ae491db93482ab69f (diff)
downloadcouchdb-a323af6c8fe5d6181e96faa7b7eabf202047c28c.tar.gz
docs: cut useless section on file permission error messages
-rw-r--r--share/doc/build/Makefile.am3
-rw-r--r--share/doc/src/errors.rst37
-rw-r--r--share/doc/src/index.rst1
3 files changed, 0 insertions, 41 deletions
diff --git a/share/doc/build/Makefile.am b/share/doc/build/Makefile.am
index e9d168160..0e59924fd 100644
--- a/share/doc/build/Makefile.am
+++ b/share/doc/build/Makefile.am
@@ -59,7 +59,6 @@ html_files = \
html/_sources/config_reference.txt \
html/_sources/configuring.txt \
html/_sources/ddocs.txt \
- html/_sources/errors.txt \
html/_sources/index.txt \
html/_sources/intro.txt \
html/_sources/json-structure.txt \
@@ -103,7 +102,6 @@ html_files = \
html/config_reference.html \
html/configuring.html \
html/ddocs.html \
- html/errors.html \
html/index.html \
html/intro.html \
html/json-structure.html \
@@ -146,7 +144,6 @@ src_files = \
../src/config_reference.rst \
../src/configuring.rst \
../src/ddocs.rst \
- ../src/errors.rst \
../src/index.rst \
../src/intro.rst \
../src/json-structure.rst \
diff --git a/share/doc/src/errors.rst b/share/doc/src/errors.rst
deleted file mode 100644
index 431ff9100..000000000
--- a/share/doc/src/errors.rst
+++ /dev/null
@@ -1,37 +0,0 @@
-.. Licensed under the Apache License, Version 2.0 (the "License"); you may not
-.. use this file except in compliance with the License. You may obtain a copy of
-.. the License at
-..
-.. http://www.apache.org/licenses/LICENSE-2.0
-..
-.. Unless required by applicable law or agreed to in writing, software
-.. distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-.. WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-.. License for the specific language governing permissions and limitations under
-.. the License.
-
-Error Messages
-==============
-
-The errors reported when CouchDB is unable to read a required file have
-been updated so that explicit information about the files and problem
-can now be identified from the error message. The errors report file
-permission access either when reading or writing to configuration and
-database files.
-
-The error is raised both through the log file and the error message
-returned through the API call as a JSON error message. For example, when
-setting configuration values:
-
-.. code-block:: bash
-
- shell> curl -X PUT http://couchdb:5984/_config/couchdb/delayed_commits \
- -H 'X-Couch-Persist: true' -d '"false"'
- {"error":"file_permission_error","reason":"/etc/couchdb/local.ini"}
-
-Errors will always be reported using the ``file_permission_error`` error
-type.
-
-During startup permissions errors on key files are also reported in the
-log with a descriptive error message and file location so that
-permissions can be fixed before restart.
diff --git a/share/doc/src/index.rst b/share/doc/src/index.rst
index 048f1c64d..a6d3d570c 100644
--- a/share/doc/src/index.rst
+++ b/share/doc/src/index.rst
@@ -34,7 +34,6 @@ Contents
replication
ddocs
query-servers
- errors
changes
release
api/reference