From 1e9e7d6283a4242fd93a77f98b54e3389de6fc12 Mon Sep 17 00:00:00 2001 From: Florian Goth Date: Wed, 4 Jan 2023 01:14:40 +0100 Subject: [PATCH 1/2] 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', From 328c4cdbb5af25e89d794953e3d4b8454eca6c73 Mon Sep 17 00:00:00 2001 From: CaptainSifff Date: Wed, 4 Jan 2023 11:41:00 +0100 Subject: [PATCH 2/2] Update config/config.sample.php: fix typos. Co-authored-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Signed-off-by: CaptainSifff --- config/config.sample.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.sample.php b/config/config.sample.php index 12eaa0eef8a..0267ae51c91 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1841,7 +1841,7 @@ $CONFIG = [ * use. * * 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 + * Additionally you have to make sure that your 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. */