From 40efe20f4c6aad3de7e075d6e134c7ff6b06e4a0 Mon Sep 17 00:00:00 2001 From: Camila Date: Wed, 8 Feb 2023 13:23:39 +0100 Subject: [PATCH] Fix note about occ files:transfer-ownership command. See PR nextcloud/server/pull/30953. Signed-off-by: Camila --- 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 a3fb6ee40..40f2bd5d0 100644 --- a/admin_manual/configuration_server/occ_command.rst +++ b/admin_manual/configuration_server/occ_command.rst @@ -793,7 +793,7 @@ before removing a user:: The transferred files will appear inside a new sub-directory in the destination user's home. .. note:: - The user's folder must exist in the data directory: the command ``occ files:transfer-ownership`` will only work after the ``destination-user`` has logged in for the first time. Their first login initializes the user's file system. + Unless server side encryption is enabled, **the command will init the file system** in Nextcloud versions **22.2.6, 23.0.3 and since 24**. When it is unable to create the user's folder in the data directory it will show the following error: ``unable to rename, destination directory is not writable``. Before 22.2.6 the command ``occ files:transfer-ownership`` would only work after the user has logged in for the first time. If the destination user has no files at all (empty home), it is possible to also transfer all the source user's files by passing ``--move``::