From 44536bf4a0c0a1c47224dbbe6b2d18dfccd2c1e0 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 21 Jun 2016 10:24:52 +0200 Subject: [PATCH] ocpath => ncpath --- admin_manual/maintenance/update.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin_manual/maintenance/update.rst b/admin_manual/maintenance/update.rst index d5e394f20..dbf7e98df 100644 --- a/admin_manual/maintenance/update.rst +++ b/admin_manual/maintenance/update.rst @@ -113,18 +113,18 @@ immediately after the initial installation. Please follow the steps in These strict permissions will prevent the Updater app from working, as it needs your whole Nextcloud directory to be owned by the HTTP user. Run this script to -set the appropriate permissions for updating. Replace the ``ocpath`` variable +set the appropriate permissions for updating. Replace the ``ncpath`` variable with the path to your Nextcloud directory, and replace the ``htuser`` and ``htgroup`` variables with your HTTP user and group.:: #!/bin/bash # Sets permissions of the Nextcloud instance for updating - ocpath='/var/www/nextcloud' + ncpath='/var/www/nextcloud' htuser='www-data' htgroup='www-data' - chown -R ${htuser}:${htgroup} ${ocpath} + chown -R ${htuser}:${htgroup} ${ncpath} You can find your HTTP user in your HTTP server configuration files. Or you can use :ref:`label-phpinfo` (Look for the **User/Group** line).