mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
ocpath => ncpath
This commit is contained in:
parent
0ae8e6dde1
commit
44536bf4a0
@ -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).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user