]> source.dussan.org Git - nextcloud-server.git/commitdiff
Adjust sudo command to UID instead of username 23436/head
authorhoellen <dev@hoellen.eu>
Sat, 3 Oct 2020 18:52:04 +0000 (20:52 +0200)
committerhoellen <dev@hoellen.eu>
Tue, 6 Oct 2020 11:03:08 +0000 (13:03 +0200)
Signed-off-by: hoellen <dev@hoellen.eu>
console.php

index 5f3bea427d964d17cd4a662224352353069a5e21..c44c020d2de8fe35b9863f1b0206555fb3f1f841 100644 (file)
@@ -70,7 +70,7 @@ try {
                echo "Console has to be executed with the user that owns the file config/config.php" . PHP_EOL;
                echo "Current user id: " . $user . PHP_EOL;
                echo "Owner id of config.php: " . $configUser . PHP_EOL;
-               echo "Try adding 'sudo -u " . $configUser . " ' to the beginning of the command (without the single quotes)" . PHP_EOL;
+               echo "Try adding 'sudo -u #" . $configUser . "' to the beginning of the command (without the single quotes)" . PHP_EOL;
                echo "If running with 'docker exec' try adding the option '-u " . $configUser . "' to the docker command (without the single quotes)" . PHP_EOL;
                exit(1);
        }