mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #44094 from helmo/name-fix
This commit is contained in:
commit
4cf392f462
1 changed files with 1 additions and 1 deletions
2
cron.php
2
cron.php
|
|
@ -117,7 +117,7 @@ try {
|
|||
$user = posix_getuid();
|
||||
$dataDirectoryUser = fileowner($config->getSystemValueString('datadirectory', \OC::$SERVERROOT . '/data'));
|
||||
if ($user !== $dataDirectoryUser) {
|
||||
echo "Console has to be executed with the user that owns the data directory" . PHP_EOL;
|
||||
echo "Cron has to be executed with the user that owns the data directory" . PHP_EOL;
|
||||
echo "Current user id: " . $user . PHP_EOL;
|
||||
echo "Owner id of the data directory: " . $dataDirectoryUser . PHP_EOL;
|
||||
exit(1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue