summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkgpm.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-12-13 09:14:45 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2012-12-13 09:14:45 +0100
commit8e604bec425dda28db6f541cc7e64e16989d89f6 (patch)
treed498a4d1027e19236282ef6f738626c12067c7e5 /apt-pkg/deb/dpkgpm.cc
parent0c58e5cb65cb10a2afe67f35ea7a2b23586c816c (diff)
parentfb3ecf163485c428ebf863e65e60ec884e741ada (diff)
merged from the debian-sid branch
Diffstat (limited to 'apt-pkg/deb/dpkgpm.cc')
-rw-r--r--apt-pkg/deb/dpkgpm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index 8732fba88..b4fcf47b6 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -725,7 +725,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);
}