From 287f4340564e99d6981e5ae3e4660a51bf94aaae Mon Sep 17 00:00:00 2001 From: Immanuel Pasanec Date: Tue, 23 Nov 2021 15:24:02 +0100 Subject: [PATCH 1/3] Added explanation for overwriting the transferIncomingShares option in config.php. Signed-off-by: Immanuel Pasanec --- admin_manual/configuration_server/occ_command.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/admin_manual/configuration_server/occ_command.rst b/admin_manual/configuration_server/occ_command.rst index c0fa0fc08..b88ba49de 100644 --- a/admin_manual/configuration_server/occ_command.rst +++ b/admin_manual/configuration_server/occ_command.rst @@ -756,6 +756,10 @@ In case the incoming shares must be transferred as well, use the argument ``--tr As an alternative, the system configuration option ``transferIncomingShares`` in config.php can be set to ``true`` to always transfer incoming shares. +The command line option ``--transfer-incoming-shares`` overwrites the config.php option ``transferIncomingShares``. For example, ``'transferIncomingShares => true`` can be overwritten by: + + sudo -u www-data php occ files:transfer-ownership --transfer-incoming-shares=0 + Users may also transfer files or folders selectively by themselves. See `user documentation `_ for details. From 219c28e3bf5b8031e1d20db6cf6cdc452b31e075 Mon Sep 17 00:00:00 2001 From: Immanuel Pasanec Date: Tue, 23 Nov 2021 15:29:40 +0100 Subject: [PATCH 2/3] Fixed missing double colon. Signed-off-by: Immanuel Pasanec --- admin_manual/configuration_server/occ_command.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_manual/configuration_server/occ_command.rst b/admin_manual/configuration_server/occ_command.rst index b88ba49de..575b7e54b 100644 --- a/admin_manual/configuration_server/occ_command.rst +++ b/admin_manual/configuration_server/occ_command.rst @@ -756,7 +756,7 @@ In case the incoming shares must be transferred as well, use the argument ``--tr As an alternative, the system configuration option ``transferIncomingShares`` in config.php can be set to ``true`` to always transfer incoming shares. -The command line option ``--transfer-incoming-shares`` overwrites the config.php option ``transferIncomingShares``. For example, ``'transferIncomingShares => true`` can be overwritten by: +The command line option ``--transfer-incoming-shares`` overwrites the config.php option ``transferIncomingShares``. For example, ``'transferIncomingShares => true`` can be overwritten by: :: sudo -u www-data php occ files:transfer-ownership --transfer-incoming-shares=0 From bcdbc7933929cc8a7833949864e0286016cd7697 Mon Sep 17 00:00:00 2001 From: Immanuel Pasanec Date: Tue, 23 Nov 2021 15:35:49 +0100 Subject: [PATCH 3/3] Added possible parameters for --transfer-incoming-shares option. Signed-off-by: Immanuel Pasanec --- admin_manual/configuration_server/occ_command.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_manual/configuration_server/occ_command.rst b/admin_manual/configuration_server/occ_command.rst index 575b7e54b..9c602a06c 100644 --- a/admin_manual/configuration_server/occ_command.rst +++ b/admin_manual/configuration_server/occ_command.rst @@ -750,7 +750,7 @@ It is also possible to transfer only one directory along with it's contents. Thi sudo -u www-data php occ files:transfer-ownership --path="path_to_dir" -In case the incoming shares must be transferred as well, use the argument ``--transfer-incoming-shares``:: +In case the incoming shares must be transferred as well, use the argument ``--transfer-incoming-shares`` with ``0`` or ``1`` as parameters :: sudo -u www-data php occ files:transfer-ownership --transfer-incoming-shares=1 --path="path_to_dir"