diff --git a/doc/maintaining/datastore.rst b/doc/maintaining/datastore.rst index 6928e683141..02a4293ad8b 100644 --- a/doc/maintaining/datastore.rst +++ b/doc/maintaining/datastore.rst @@ -143,7 +143,7 @@ Then you can use this connection to set the permissions:: .. 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 -c /etc/ckan/default/development.ini`` + the config file, e.g. ``paster --plugin=ckan datastore set-permissions -c /etc/ckan/default/development.ini | sudo -u postgres psql --set ON_ERROR_STOP=1`` If your database server is not local, but you can access it over SSH, you can pipe the permissions script over SSH::