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

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Sun Feb 4 21:41:56 UTC 2018


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

New commits:
commit 9c1d8cfa833916d48e04e6d3de0af99fa8f772aa
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/48985
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/kit/ForKit.cpp b/kit/ForKit.cpp
index 32ee85e1..b3ca8c64 100644
--- a/kit/ForKit.cpp
+++ b/kit/ForKit.cpp
@@ -503,6 +503,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