Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--console.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/console.php b/console.php
index ab845aced50..779f9696d30 100644
--- a/console.php
+++ b/console.php
@@ -60,7 +60,8 @@ try {
echo "Console has to be executed with the user that owns the file config/config.php" . PHP_EOL;
echo "Current user: " . $user['name'] . PHP_EOL;
echo "Owner of config.php: " . $configUser['name'] . PHP_EOL;
- exit(0);
+ echo "Try adding 'sudo -u " . $configUser['name'] . " ' to the beginning of the command (without the single quotes)." . PHP_EOL;
+ exit(0);
}
}