diff --git a/apps/files/lib/Command/Scan.php b/apps/files/lib/Command/Scan.php index 7b2ad199ba4b9..cfab4a42932c4 100644 --- a/apps/files/lib/Command/Scan.php +++ b/apps/files/lib/Command/Scan.php @@ -144,7 +144,7 @@ protected function scanFiles($user, $path, OutputInterface $output, $backgroundS $scanner->scan($path, $recursive, $homeOnly ? [$this, 'filterHomeMount'] : null); } } catch (ForbiddenException $e) { - $output->writeln("Home storage for user $user not writable"); + $output->writeln("Home storage for user $user not writable or 'files' subdirectory missing"); $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