]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire.cc
reword "Can't drop priv" warning message
[apt.git] / apt-pkg / acquire.cc
index 9ceb507f6a3aebf90b9fb6735b1b6398c53baabf..ac925e72e4594791e93c3ef2b56a3037ecd8e6ba 100644 (file)
@@ -622,7 +622,7 @@ static void CheckDropPrivsMustBeDisabled(pkgAcquire const &Fetcher)
       // if destination file is inaccessible all hope is lost for privilege dropping
       if (IsAccessibleBySandboxUser((*I)->DestFile, true) == false)
       {
-        _error->WarningE("pkgAcquire::Run", _("Can't drop privileges for downloading as file '%s' couldn't be accessed by user '%s'."),
+        _error->WarningE("pkgAcquire::Run", _("Download is performed unsandboxed as root as file '%s' couldn't be accessed by user '%s'."),
               (*I)->DestFile.c_str(), SandboxUser.c_str());
         _config->Set("APT::Sandbox::User", "");
         break;
@@ -639,7 +639,7 @@ static void CheckDropPrivsMustBeDisabled(pkgAcquire const &Fetcher)
 
         if (IsAccessibleBySandboxUser(source.Path, false) == false)
         {
-           _error->NoticeE("pkgAcquire::Run", _("Can't drop privileges for downloading as file '%s' couldn't be accessed by user '%s'."),
+           _error->NoticeE("pkgAcquire::Run", _("Download is performed unsandboxed as root as file '%s' couldn't be accessed by user '%s'."),
                  source.Path.c_str(), SandboxUser.c_str());
            _config->CndSet("Binary::file::APT::Sandbox::User", "root");
            _config->CndSet("Binary::copy::APT::Sandbox::User", "root");