[Libreoffice-commits] online.git: Branch 'libreoffice-5-4' - kit/ForKit.cpp

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Thu Feb 1 11:19:52 UTC 2018


 kit/ForKit.cpp |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 2a7939cff0a291ea7cbf21a2d3b900820eee24e2
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date:   Wed Jan 31 11:45:03 2018 +0100

    Missing capabilities: Add hint to check mount options
    
    Change-Id: I946df0082b385b2eaaad9c23b9e5e7ac508f64aa
    (cherry picked from commit 00dc0658d3fd7ae274da9589515fc97335567e64)
    Reviewed-on: https://gerrit.libreoffice.org/48984
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
    Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/kit/ForKit.cpp b/kit/ForKit.cpp
index 36d1c86b..aa41fe52 100644
--- a/kit/ForKit.cpp
+++ b/kit/ForKit.cpp
@@ -474,6 +474,7 @@ int main(int argc, char** argv)
     if (!NoCapsForKit && !haveCorrectCapabilities())
     {
         std::cerr << "FATAL: Capabilities are not set for the loolforkit program." << std::endl;
+        std::cerr << "Please make sure that the current partition was *not* mounted with the 'nosuid' option." << std::endl;
         std::cerr << "If you are on SLES11, please set 'file_caps=1' as kernel boot option." << std::endl << std::endl;
         return Application::EXIT_SOFTWARE;
     }


More information about the Libreoffice-commits mailing list