From 1e9e7d6283a4242fd93a77f98b54e3389de6fc12 Mon Sep 17 00:00:00 2001 From: Florian Goth Date: Wed, 4 Jan 2023 01:14:40 +0100 Subject: [PATCH] elaborate on what is required for using the tempdirectory setting of nextcloud Signed-off-by: Florian Goth --- config/config.sample.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/config.sample.php b/config/config.sample.php index 4597ce9a77d..12eaa0eef8a 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1840,7 +1840,10 @@ $CONFIG = [ * restricted, or if external storage which do not support streaming are in * use. * - * The Web server user must have write access to this directory. + * The Web server user/PHP must have write access to this directory. + * Additionally you have to make sure, that you php configuration considers this a valid + * tmp directory, by setting the TMP, TMPDIR, and TEMP variables to the required directories. + * On top of that you might be required to grant additional permissions in AppArmor or SELinux. */ 'tempdirectory' => '/tmp/nextcloudtemp',