mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Update directory permissions
Fixes #255 Signed-off-by: Lari Tikkanen <lartza@outlook.com>
This commit is contained in:
@@ -152,7 +152,6 @@ replace the ``htuser`` and ``htgroup`` variables with your HTTP user and group::
|
||||
|
||||
printf "Creating possible missing Directories\n"
|
||||
mkdir -p $ocpath/data
|
||||
mkdir -p $ocpath/assets
|
||||
mkdir -p $ocpath/updater
|
||||
|
||||
printf "chmod Files and Directories\n"
|
||||
@@ -162,7 +161,6 @@ replace the ``htuser`` and ``htgroup`` variables with your HTTP user and group::
|
||||
printf "chown Directories\n"
|
||||
chown -R ${rootuser}:${htgroup} ${ocpath}/
|
||||
chown -R ${htuser}:${htgroup} ${ocpath}/apps/
|
||||
chown -R ${htuser}:${htgroup} ${ocpath}/assets/
|
||||
chown -R ${htuser}:${htgroup} ${ocpath}/config/
|
||||
chown -R ${htuser}:${htgroup} ${ocpath}/data/
|
||||
chown -R ${htuser}:${htgroup} ${ocpath}/themes/
|
||||
@@ -196,7 +194,6 @@ and files:
|
||||
* The :file:`apps/` directory should be owned by ``[HTTP user]:[HTTP group]``
|
||||
* The :file:`config/` directory should be owned by ``[HTTP user]:[HTTP group]``
|
||||
* The :file:`themes/` directory should be owned by ``[HTTP user]:[HTTP group]``
|
||||
* The :file:`assets/` directory should be owned by ``[HTTP user]:[HTTP group]``
|
||||
* The :file:`data/` directory should be owned by ``[HTTP user]:[HTTP group]``
|
||||
* The :file:`[ocpath]/.htaccess` file should be owned by ``root:[HTTP group]``
|
||||
* The :file:`data/.htaccess` file should be owned by ``root:[HTTP group]``
|
||||
|
||||
Reference in New Issue
Block a user