Skip to content

Commit 6233d28

Browse files
authored
Merge pull request #32919 from nextcloud/backport/32874/stable23
2 parents c8967c5 + e055209 commit 6233d28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files/lib/Command/Scan.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ protected function scanFiles($user, $path, OutputInterface $output, $backgroundS
143143
$scanner->scan($path, $recursive, $homeOnly ? [$this, 'filterHomeMount'] : null);
144144
}
145145
} catch (ForbiddenException $e) {
146-
$output->writeln("<error>Home storage for user $user not writable</error>");
146+
$output->writeln("<error>Home storage for user $user not writable or 'files' subdirectory missing</error>");
147147
$output->writeln('Make sure you\'re running the scan command only as the user the web server runs as');
148148
} catch (InterruptedException $e) {
149149
# exit the function if ctrl-c has been pressed

0 commit comments

Comments
 (0)