]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/dpkgpm.cc
merged from lp:~donkult/apt/sid
[apt.git] / apt-pkg / deb / dpkgpm.cc
index c9df41d3a36a173bee5e70261d6170b5595d5ceb..6cb8bc6b61d465d90ac66d079faa5cf2fe621e65 100644 (file)
@@ -726,7 +726,7 @@ bool pkgDPkgPM::OpenLog()
       gr = getgrnam("adm");
       if (pw != NULL && gr != NULL)
          chown(logfile_name.c_str(), pw->pw_uid, gr->gr_gid);
-      chmod(logfile_name.c_str(), 0644);
+      chmod(logfile_name.c_str(), 0640);
       fprintf(d->term_out, "\nLog started: %s\n", timestr);
    }