From 322eaf58142f692fd393bd0ec6a98a073e4c494a Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Sun, 5 Jul 2020 09:01:50 +0200 Subject: systemplate files are not writable by lool user See also f1be65668c749526011faa39266f289522a9cf68 systemplate files should not be writable by lool user Change-Id: I5684248d3d4b4b0ba56f8c5ab490a6e7df0e0038 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98069 Tested-by: Jenkins CollaboraOffice Tested-by: Jenkins Reviewed-by: Andras Timar --- tools/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/Config.cpp') diff --git a/tools/Config.cpp b/tools/Config.cpp index 9c40939101..4bf297fb60 100644 --- a/tools/Config.cpp +++ b/tools/Config.cpp @@ -364,7 +364,7 @@ int Config::main(const std::vector& args) } else if (args[0] == "update-system-template") { - const char command[] = "su lool --shell=/bin/sh -c 'loolwsd-systemplate-setup /opt/lool/systemplate " LO_PATH " >/dev/null 2>&1'"; + const char command[] = "loolwsd-systemplate-setup /opt/lool/systemplate " LO_PATH " >/dev/null 2>&1"; std::cout << "Running the following command:" << std::endl << command << std::endl; -- cgit