wsd/LOOLWSD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 1bcaac7a6ea2f5f61071eb8ed11d4c6144e70c21 Author: Jan Holesovsky <ke...@collabora.com> AuthorDate: Fri Jun 5 21:36:24 2020 +0200 Commit: Jan Holesovsky <ke...@collabora.com> CommitDate: Mon Jun 8 11:35:58 2020 +0200
One more check that should be overriden with --disable-lool-user-checking. Change-Id: I3f0170775abad34b2b9de2078410d00d46853ad9 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95619 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Jan Holesovsky <ke...@collabora.com> diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp index 39365cbe7..f2c01965e 100644 --- a/wsd/LOOLWSD.cpp +++ b/wsd/LOOLWSD.cpp @@ -852,7 +852,7 @@ LOOLWSD::~LOOLWSD() void LOOLWSD::initialize(Application& self) { #if !MOBILEAPP - if (geteuid() == 0) + if (geteuid() == 0 && CheckLoolUser) { throw std::runtime_error("Do not run as root. Please run as lool user."); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits