Skip to content

Commit

Permalink
Merge branch 'datastore-doc'
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Sep 10, 2015
2 parents 44240d5 + 247dc40 commit 419a324
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions doc/maintaining/datastore.rst
Expand Up @@ -134,13 +134,12 @@ superuser using::

Then you can use this connection to set the permissions::

sudo ckan datastore set-permissions |
sudo -u postgres psql --set ON_ERROR_STOP=1
sudo ckan datastore set-permissions | sudo -u postgres psql --set ON_ERROR_STOP=1

.. note::
If you performed a source install, you will need to replace all references to
``sudo ckan ...`` with ``paster --plugin=ckan ...`` and provide the path to
the config file, e.g. ``paster --plugin=ckan datastore set-permissions postgres -c /etc/ckan/default/development.ini``
the config file, e.g. ``paster --plugin=ckan datastore set-permissions -c /etc/ckan/default/development.ini``

If your database server is not local, but you can access it over SSH, you can
pipe the permissions script over SSH::
Expand Down

0 comments on commit 419a324

Please sign in to comment.