From 2059be3cfbaa699d3df1a37e14754cc193ffa4e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Mercader?= Date: Fri, 10 Nov 2017 15:48:01 +0000 Subject: [PATCH] Add second half of DataStore set-permissions command For source installs --- doc/maintaining/datastore.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::