]> git.saurik.com Git - apt.git/blobdiff - methods/http.cc
test if TMPDIR is accessible before using
[apt.git] / methods / http.cc
index c00b439b723a1705d7ba82ca14038e72412623c4..a5de13511bf3ced8f7920474ab2fd5f45393602e 100644 (file)
@@ -770,6 +770,8 @@ bool HttpMethod::Configuration(string Message)
    if (ServerMethod::Configuration(Message) == false)
       return false;
 
+   DropPrivsOrDie();
+
    AllowRedirect = _config->FindB("Acquire::http::AllowRedirect",true);
    PipelineDepth = _config->FindI("Acquire::http::Pipeline-Depth",
                                  PipelineDepth);