diff options
author | Andras Timar <andras.timar@collabora.com> | 2020-07-05 09:01:50 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-07-05 13:28:28 +0200 |
commit | 322eaf58142f692fd393bd0ec6a98a073e4c494a (patch) | |
tree | 3ee0ff83be6393d6fbc89100254b68eee7d2ae47 /tools/Config.cpp | |
parent | supress clang -Wparentheses-equality for WIF*() spurious case (diff) | |
download | online-322eaf58142f692fd393bd0ec6a98a073e4c494a.tar.gz online-322eaf58142f692fd393bd0ec6a98a073e4c494a.zip |
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 <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'tools/Config.cpp')
-rw-r--r-- | tools/Config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string>& 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; |