Skip to content

Commit 0164dff

Browse files
authored
Merge pull request #32920 from nextcloud/backport/32874/stable24
2 parents 7d52ea0 + 5da1314 commit 0164dff

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
@@ -144,7 +144,7 @@ protected function scanFiles($user, $path, OutputInterface $output, $backgroundS
144144
$scanner->scan($path, $recursive, $homeOnly ? [$this, 'filterHomeMount'] : null);
145145
}
146146
} catch (ForbiddenException $e) {
147-
$output->writeln("<error>Home storage for user $user not writable</error>");
147+
$output->writeln("<error>Home storage for user $user not writable or 'files' subdirectory missing</error>");
148148
$output->writeln('Make sure you\'re running the scan command only as the user the web server runs as');
149149
} catch (InterruptedException $e) {
150150
# exit the function if ctrl-c has been pressed

0 commit comments

Comments
 (0)