From 54f61352f074f9c4698eb2b94e019ab101518b4c Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 17 Jun 2021 13:53:11 +0200 Subject: better error messages if the users home is not writable during scanning Signed-off-by: Robin Appelman --- apps/files/lib/Command/Scan.php | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/files/lib/Command') diff --git a/apps/files/lib/Command/Scan.php b/apps/files/lib/Command/Scan.php index 710c76de493..a59665c56e9 100644 --- a/apps/files/lib/Command/Scan.php +++ b/apps/files/lib/Command/Scan.php @@ -162,6 +162,7 @@ class Scan extends Base { } } catch (ForbiddenException $e) { $output->writeln("Home storage for user $user not writable or 'files' subdirectory missing"); + $output->writeln(' ' . $e->getMessage()); $output->writeln('Make sure you\'re running the scan command only as the user the web server runs as'); } catch (InterruptedException $e) { # exit the function if ctrl-c has been pressed -- cgit v1.2.3